Search Issue Tracker
Fixed in 2022.2.X
Votes
0
Found in
2021.2.0a18
2021.2.12f1
2022.1
Issue ID
1405401
Regression
Yes
Editor crashes when adding a script to a TMP Button
Reproduction steps:
1. Open users attached project
2. Open Scenes/SampleScene
3. Add /Game Jam Template/Scripts/FlexibleUI/TMP/FlexibleUITMPButton.cs to Menu UI > Button in the Hierarchy window
Expected result: The script is added to the Button
Actual result: Editor crashes
Reproducible with: 2021.2.0a18, 2021.2.14f1, 2022.1.0b10
Not reproducible with: 2020.3.30f1,2021.2.0a17 2022.2.0a1, 2022.2.0a7
Could not test with: 2019.4.36f1
Stack trace:
0x0000022f32bc9596 (Mono JIT Code) (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte,byte,int)
0x0000022f32ac826b (Mono JIT Code) System.Buffer:Memcpy (byte,byte,int)
0x0000022f32bc9463 (Mono JIT Code) string:memcpy (byte,byte,int)
0x0000022e82f77da3 (Mono JIT Code) [FlexibleUITMPButton.cs:22] FlexibleUITMPButton:OnSkinUI ()
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
- "GUI Error: Invalid GUILayout state in ConsoleWindow view" and "NullReferenceException" errors are thrown when pinging GameObject in inactive Hierarchy from Console
- Crash on profiling::Dispatcher::AcquireFreeBuffer when the Editor's profiler session acquires a new dispatch buffer to emit UI events
- [XRIT] CurveVisualController causes "Invalid AABB" and "IsFinite(distanceForSort)" errors when startup endpoint equals origin
- Building with -nographics breaks VFX Graph Position (Depth) as an Operator
- MacOS server cannot find libMonoPosixHelper.dylib when calling GZipStream
Resolution Note (fix version 2022.2):
Fixed in 2022.2.0a1