Search Issue Tracker

Active

Votes

0

Found in

2019.4

2020.3

2020.3.26f1

2021.3

2022.1

2022.2

Issue ID

1413250

Regression

No

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

Serialization

-

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
Not reproducible with:

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.