Search Issue Tracker
Fixed
Fixed in 2022.2.7f1, 2023.1.0a26
Votes
0
Found in
2022.2.0b16
2023.1.0a23
Issue ID
UUM-21543
Regression
No
RuntimeInitializeOnLoadMethod documentation is incorrect and lacking helpful information
This is all the docs we have now:
"Allow a runtime class method to be initialized when a game is loaded at runtime without action from the user.
Methods marked {{[RuntimeInitializeOnLoadMethod]}} are invoked after the game has been loaded. This is after the {{Awake}} method has been invoked.
*Note:* The execution order of methods marked {{[RuntimeInitializeOnLoadMethod]}} is not guaranteed."
It does not mention the various options of callbacks
There is no info on the execution order of the callbacks.
Incorrect info:
* This is after the {{Awake}} method has been invoked.
* The execution order of methods marked {{[RuntimeInitializeOnLoadMethod]}} is not guaranteed.
The documentation was not updated when [RuntimeInitializeLoadType|https://docs.unity3d.com/ScriptReference/RuntimeInitializeLoadType.html] was added. Which is hooks that invalidates above documenation.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Build fails when building with ILCPP Scripting Backend and ARMv7 as the Target Architecture
- Textures turn black in Player when they are referenced by a script instance
- [Android] Virtual device crashes with "Scudo ERROR: invalid chunk state when deallocating address" error in Firebase Test Lab when Optimized Frame Pacing is enabled
- Particle System does not resume when its Culling Mode is set to "Pause" or "Pause and Catch-up," and particle position simulate in world space
- "Custom Render Queue" field cannot be set above "2000" when changing it in the Inspector window using Debug mode
Add comment