How to reproduce:
1. Open the “fastpropertyname_serialization_issue” project
2. Open the “Sample” scene
3. Build asset bundles for the current platform (Assets > BuildTestBundles > “BuildMac” or “BuildWin”)
4. Build And Run
5. In the Player select “Spawn 2” then select “Spawn 1”
6. Observe the Player
Expected result: The “Spawn 1” Cube GameObject is yellow and the “Spawn 2” Cube GameObject is green
Actual result: The “Spawn 1” Cube GameObject is yellow and the “Spawn 2” Cube GameObject is red
Reproduced with: 2021.3.33f1, 2022.3.15f1, 2023.2.4f1, 2023.3.0b1
Reproduced on: macOS 13.5.2 (Intel) (by reporter), macOS 12.6.1 (M1)
Not reproduced on: No other environment tested
Could not test on: Windows 11 (Building the Player throws errors to the Console)
Notes:
1. Cannot test in Game Mode → Pressing the buttons does not spawn any GameObjects
2. It might be necessary to remove the “Library” folder from the project when trying to reproduce the issue in older streams