Search Issue Tracker
By Design
By Design in 6000.0.X
Votes
0
Found in
2021.3.37f1
2022.3.25f1
2023.2.19f1
6000.0.0b15
Issue ID
UUM-70631
Regression
No
Script error is thrown when using a method named Update with parameters in the script that inherits from a ScriptableObject class
How to reproduce:
1. Open the “UGS++“ project
2. Enter the Play Mode
3. Observe the Console window
Expected result: No error is thrown in the Console window
Actual result: “Script error (TestSO): Update() can not take parameters.“ error is thrown in the Console window
Reproducible with: 2021.3.37f1, 2022.3.25f1, 2023.2.19f1, 6000.0.0b15
Reproducible on: macOS 13.5.2 (Intel)
Not reproducible on: No other environments tested
Workaround: Rename the Update() method so it does not coincide with the MonoBehaviour.Update() method used in the MonoBehavior class
Note: ScriptableObject class is inheriting the MonoBehaviour-specific methods, that are not used in ScriptableObject class functionality
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
This is by design because the Update method doesn't allow parameters. The case was given to the documentation team to improve the information provided there.
Resolution Note (6000.0.X):
This is by design because the Update method doesn't allow parameters. The case was given to the documentation team to improve the information provided there.