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
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Add comment