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
- Crash when attempting to create a custom FMOD DSP unit
- [Linux] Floating windows do not keep their size after restarting the Editor
- .framework plugin is mistakenly treated as a directory when building for Universal Windows Platform
- Artifacts appear on GameObjects when using the WebGL Player on Silicon macOS
- Only the icon of the disabled child GameObject is faded when a parent GameObject is a Prefab
Resolution Note:
As described in the comment this is an issue in the customer script.