Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4.6f1
Issue ID
1073582
Regression
No
Unity Crashes on UnityEngine.Object:Internal_InstantiateSingle_Injected(Object, Vector3&, Quaternion&)
How to reproduce:
1. Download and open my attached project "BugProject.zip"
2. In the Project window find the folder "scene0" and open "menu" Scene
3. Play the Scene and in the Scene window press on "load after saving" button
-- crash occurs --
Reproducible with: 2017.4.14f1, 2018.1.9f2, 2018.2.14f1, 2018.3.0b7, 2019.1.0a6
First three lines of the stack trace:
UnityEngine.Object:Internal_InstantiateSingle_Injected(Object, Vector3&, Quaternion&)
UnityEngine.Object:Internal_InstantiateSingle(Object, Vector3, Quaternion)
UnityEngine.Object:Instantiate(Object, Vector3, Quaternion)
Note: You'll notice the script called "GameData". It looks like that when commenting the line 103:
GameObject go = Instantiate(prefab, new Vector3(inf.x, inf.y, inf.z), Quaternion.identity) as GameObject;
The project does not crash anymore
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [URP][Lighting] The skybox doesn't render after changing the settings of the Material when using the URP Render Pipeline
- Crash on ShaderLab::ShaderState::ApplyShaderState when entering Play Mode and calling ShaderWarmup.WarmupShaderFromCollection with a shader that has dynamic_branch
- Crash on operator delete[] when a serializable structure in the System namespace is serialized by a MonoBehaviour
- [macOS] forward and backward mouse buttons are recognized as middle mouse button
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
Add comment