Search Issue Tracker
Duplicate
Votes
6
Found in
5.5.1f1
Issue ID
924006
Regression
No
Editor crashes and Assertion failed on expression: '!gameObject.IsActive()' error is thrown when playing a specific scene
To reproduce:
1. Open repro project(link in edit)
2. Open 'Test' scene
3. Delete all GameObjects except 'MachineGun'
4. Play scene
Expected: scene will be played without any errors
Actual: After deleting other GameObjects error is thrown: Assertion failed on expression: '!gameObject.IsActive()'. When trying to play scene, editor crashes
Reproduced on: 5.5.1f1, 5.5.3p4, 5.6.2p1, 2017.1.0f1, 2017.2.0b1
Note: after deleting 'ProjectSettings' and 'Library' folders the issue persists, but re-enabling all GameObjects in 'Test' scene fixes the issue.
-
isaachurleyyyy
Jun 22, 2018 05:55
Same issue, also fixed by enabling/disabling everything in scene, Thanks!
-
ImperativeGames
Mar 08, 2018 16:02
Yes, happens all the time to my project too, glad to know that deactivating-activating hack exists.
-
PNUMIA-Rob
Oct 07, 2017 20:59
We have also experienced it's ugly occurrence when applying changes to a prefab, importing new assets, saving scene changes, and re-indexing existing assets.
This happens frequently, on an average 3 to 5 times in an 8 hour period.
Please address this issue, it's more than mildly annoying, thanks in advance.
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
- “[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
This is a duplicate of issue #1051704