Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.45f1
2021.3.20f1
2022.2.9f1
2023.1.0b6
2023.2.0a4
Issue ID
UUM-31425
Regression
No
A script public variable value is not used when set in the Inspector window
Reproduction steps:
1. Open the attached project “GravityProject”
2. Open the scene “Assets/Scenes/Prototype 3.unity”
3. In the Hierarchy window, Select the “Player” GameObject
4. Observe the “Gravity Modifier” variable value in the attached Player Controller script component in the Inspector window
5. Enter Play Mode
6. On the Keyboard hit the Space key to jump and observe the character keeps moving up in the Game View
Expected result: The character jumps and returns to the ground
Actual result: The character keeps moving up in the Game View
Reproducible with: 2020.3.45f1, 2021.3.20f1, 2022.2.9f1, 2023.1.0b6, 2023.2.0a4
Reproducible on: Intel macOS 13.2.1
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
- Search field in UI Builder's Library has no character limit
- Changing the value in UI Builder by dragging increases it by a few thousand points when reaching the borders of the screen
- ARM64 architecture DLL incorrectly copied instead of x64 when building for Windows x64
- Crash on TypeTreeIterator::GetNode when opening a specific folder
- Crash on WriteSerializedAssetsV2 when (re)entering the Play Mode in a specific project when IEnumerator Start() is used
Resolution Note:
As described in the comment this is an issue in the customer script.