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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment