Search Issue Tracker
Not Reproducible
Votes
7
Found in
4.6.1f1
Issue ID
656536
Regression
No
[AssetBundle] Fatal error when loading an AssetBundle containing UI Prefab and stopping the scene
Steps to reproduce this issue:
1. Open the attached project ('HOCMain')
2. Open 'Main' scene
3. It loads "UI" bundle and instantiates UI prefab
4. Play the scene
5 Notice that UI works fine
6. Now stop the scene
7 'FATAL ERROR!: CheckDisalowAllocation' error is shown and Unity closes
Comments (4)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unused separation line is used in the Prefab Context Menu when right clicking child Prefabs
- Editor freezes indefinitely when copy pasting a lot of characters in the UI Builder’s “Add new selector” field
- Detached Audio Source is not released from browser memory when Audio stops playing in WebGL Player
- "Canvas.pixelRect" and "Canvas.renderingDisplaySize" report 640x480 when Device Simulator window is unfocused after reopening the project in the Editor
- Incorrect indices when using Graphics.RenderPrimitivesIndexedArgs[] with Graphics.RenderPrimitivesIndexedIndirect
legendbone
Mar 06, 2015 03:30
when I stop the Game ,I had unload the assetbundle ,but I was not loading any of prefab in assetbundle at that time.
KoboldgamesUser
Feb 11, 2015 11:19
Possible workaround for me was to unload the assetbundle with AssetBundle.Unload(false) right after loading and caching the loaded prefab.
KoboldgamesUser
Feb 11, 2015 11:04
..and you dont have to instantiate the prefab. Loading per AssetBundleRequest is enough to cause the crash.
KoboldgamesUser
Feb 11, 2015 10:42
I got the same error when loading an assetbundle with a prefab that contains "UI" elements in unity 5.0.0b18. But it seems that only the input field leads to the crash.