Search Issue Tracker
Won't Fix
Votes
0
Found in
1.4.4
6.5.0
6.4.0
Issue ID
UUM-133651
Regression
No
Crash on GameObject::QueryComponentByType when creating DontDestroyOnLoad New Game Object Prefab
Reproduction steps:
1. Create a new project
2. Install Entities package in Package Manager (Window > Package Management > Package Manager > Entities)
3. Right-click on Hierarchy window and create a Sub Scene (New Sub Scene > Empty Scene…)
4. Enter Play mode
5. Expand DontDestroyOnLoad GameObject in Hierarchy and drag New Game Object to the Project window to create a Prefab
6. Observe the Editor
Actual result: Editor crashes
Expected result: Editor doesn’t crash
Reproducible with: 1.4.4 (6000.3.7f1), 6.4.0 (6000.4.0b7), 6.5.0 (6000.5.0a6)
Couldn’t reproduce with: 1.4.4 (6000.0.66f2) (No New Game Object)
Reproduced on: macOS Sequoia 26.2 (M4)
Note: First few lines of Stack Trace:
{code:java}
#0 0x00000106a5d6bc in GameObject::QueryComponentByType(Unity::Type const) const
#1 0x00000105357598 in GetOriginalSourceOrVariantRoot(Object)
#2 0x00000104d0492c in DragAndDropPrefabsFromHierarchyToProjectWindow(std::__1::set<GameObject, std::__1::less<GameObject>, std::__1::allocator<GameObject>> const&, Object, Prefab*, UnityGUID const&, bool, int)
#3 0x00000104d0aeb8 in ProjectWindowDrag(UnityGUID const&, PPtr<Object>, bool)
#4 0x00000104d1a578 in InternalEditorUtilityBindings::ProjectWindowDrag(ScriptingObjectPtr, bool){code}
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.
Resolution Note:
Thank you for reporting a bug to Unity.
We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.