Search Issue Tracker

Active

Under Consideration for 2022.2.X

Votes

0

Found in

2022.2.0a13

Issue ID

UUM-1693

Regression

No

Unity Crashes when using serializedObject.CopyFromSerializedPropertyIfDifferent() and the provided property is an ".Array.size"

--

-

How to reproduce:
1. Open the user attached project
2. Open the "SampleScene" scene
3. Select the "Example" GameObject
4. Press the "Copy" button that is in the Inspector

Reproducible with: 2019.4.0f1, 2019.4.39f1, 2020.3.34f1, 2021.3.1f1, 2022.1.0f1, 2022.2.0a11

First lines of stack trace:
0x00007FF82C314F69 (KERNELBASE) RaiseException
0x00007FF6562DB7FF (Unity) LaunchBugReporter
0x00007FF655D13352 (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF655D141FC (Unity) EditorMonoConsole::LogToConsoleImplementation
0x00007FF656CFD527 (Unity) DebugStringToFilePostprocessedStacktrace
0x00007FF656CFCA88 (Unity) DebugStringToFile
0x00007FF6551C14DC (Unity) CachedReader::OutOfBoundsError
0x00007FF6551C2364 (Unity) CachedReader::UpdateReadCache

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.