Critical errors when load scenes from AssetBundles
Closed this issue · 1 comments
n-shuvaev commented
in Reporter.cs at 311 line:
sample.loadedScene = (byte)SceneManager.GetActiveScene().buildIndex;
If scene loaded from AssetBundle, buildIndex is equal -1
, but (byte)-1
is equal 255.
Then at 92 line:
if ((int)loadedScene == -1)
return "AssetBundleScene";
the condition is not met and every frame in console write critical error.
aliessmael commented
fixed