Don't release a missing/invalid texture reference in the ibl component. Hold on to the reference so that it can hot-reload
Signed-off-by: Tommy Walton <waltont@amazon.com>
This commit is contained in:
-2
@@ -163,8 +163,6 @@ namespace AZ
|
||||
return true;
|
||||
}
|
||||
}
|
||||
// If this asset didn't load or isn't a cubemap, release it.
|
||||
configAsset.Release();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user