Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b1
Issue ID
628487
Regression
No
<GetComponent<SphereCollider>().isTrigger = true> crashes Unity on Windows
To reproduce this bug:
1. Open the attached project
2. Open 'Enemy attacking NPC' scene
3. Press play
4. Stop the scene
5. Unity crashes
6. Open project again and open 'AdvancedAiEnemy' script
7. In Start() method, disable <GetComponent<SphereCollider>().isTrigger = true> line
8. Repeat 3-4 steps again and Unity does not crash
It does not crash on MacOS, instead you get this error:
m_InstanceID != 0
UnityEngine.Component:get_transform()
AdvancedAiEnemy:TriggerExit() (at Assets/Advanced AI/Scripts/AdvancedAiEnemy.cs:966)
IdleSphere:OnTriggerExit(Collider) (at Assets/Advanced AI/Scripts/IdleSphere.cs:54
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Incorrect ScrollToItem behavior when called on a deattached ListView
- Zooming in/out in Scene View window on the display the zoom takes place in does not work
- Changing Game View resolution when there are 2 Game View Windows on 2 different displays makes the view stretched
- Maximising Game view window on one display makes black bars appear on another display
- Creating a 3D Object when using 2 monitors and 2 Game View Windows on different monitors the created 3D Object only appears on one of them
Add comment