Search Issue Tracker
Fixed
Fixed in 6000.0.48f1, 6000.1.1f1, 6000.2.0a7
Votes
0
Found in
6000.0.39f1
6000.1.0b7
6000.2.0a5
Issue ID
UUM-98111
Regression
No
Crash on ResizeScriptingList<ScriptingObjectPtr> when passing an undeclared variable to the results parameter for GameObject.FindGameObjectsWithTag
Reproduction steps:
1. Open the attached project ("ReproProject")
2. Open scene "Scenes/SampleScene"
3. Enter Play mode
Expected result: The Editor enters Play mode and throws an error in console regarding the undeclared variable
Actual result: The Editor crashes
Reproducible with: 2023.1.0a16, 6000.0.39f1, 6000.1.0b7, 6000.2.0a5
Couldn't test with: 2022.3.58f1, 2023.1.0a15 (FindGameObjectsWithTag does not take 2 parameters in these versions)
Reproducible on: Windows 11 (User), MacOS 15.2 (Intel)
Not reproducible on: No other environment tested
Note:
If reproduction fails on the provided project, just put the attached ReproScript.cs in a new project and attach it to any GameObject in any scene, then enter Play mode
Stacktrace:
#0 0x000001058aabd4 in void ResizeScriptingList<ScriptingObjectPtr>(GenericListData&, ScriptingClassPtr, int)
#1 0x000001058582e9 in GameObjectBindings::FindGameObjectsWithTagForListInternal(core::basic_string<char, core::StringStorageDefault<char>> const&, ScriptingObjectPtr, ScriptingExceptionPtr)
#2 0x00000105858208 in GameObject_CUSTOM_FindGameObjectsWithTagForListInternal(ScriptingBackendNativeStringPtrOpaque, ScriptingBackendNativeObjectPtrOpaque*)
#3 0x000001f8818d14 in (wrapper managed-to-native) UnityEngine.GameObject:FindGameObjectsWithTagForListInternal (string,object) [
{0x7fdde1dba148}
+ 0xc4] (0x1f8818c50 0x1f8818def) [0x162f02a80 - Unity Child Domain]
#4 0x000001633a6b8e in mono_jit_runtime_invoke
#5 0x0000016355abf4 in do_runtime_invoke
#6 0x0000016355ab58 in mono_runtime_invoke
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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
Resolution Note (fix version 6000.2.0a7):
Fixed in 6000.2.0a7