Search Issue Tracker
Fixed in 2017.3.0f3
Votes
0
Found in
5.6.1f1
Issue ID
928647
Regression
No
Calling BuildPipeline.BuildAssetBundles() from IPreprocessBuild.OnPreprocessBuild callback crashes Unity
Steps to reproduce:
1. Open attached project
2. Try to build for Windows standalone
-Crash
Result: On build IPreprocessBuild.OnPreprocessBuild will be called and it will try to call BuildAssetBundles() which will result in a crash
Reproduced on: 5.6.1f1, 2017.1.0f3, 2017.2.0b2
Fixed in: 2017.3.0a
Instead of crashing, throws an error/warning while building (which is expected behaviour):
InvalidOperationException: Building AssetBundles while building player is not allowed, if you need to build bundles as part of a build, create a custom build script.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
- Crash on MemoryManager::Deallocate when rapidly calling Addressables.LoadAssetAsync
- Crash on physx::shdfnd::atomicIncrement when adjusting values on a character controller component after entering Play mode in Prefab edit mode
- [Rendering Debugger] [NewInputSystem] Debug Overlays in Play mode throws InvalidOperationException when using New Input System
Add comment