Search Issue Tracker
Fixed in 5.3.5
Votes
0
Found in
5.3.3p1
Issue ID
777878
Regression
No
[WSA] Preserve attribute [RuntimeInitializeOnLoadMethod()] is not invoked after scene is loaded
Preserve attribute [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType loadType)] with parameter "RuntimeInitializeLoadType.AfterSceneLoad" is not invoked on WSA and UWP platform using .NET backend.
With parameter "RuntimeInitializeLoadType.BeforeSceneLoad" works fine.
Reproducible on 5.3.3, 5.4.0b versions;
Repro steps:
1. Open "Init.zip" project.
2. Build to UWP or WSA platforms.
3. Build and run generated project.
4. Comparing with editor observe that [RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.AfterSceneLoad)] has not been invoked.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
- The Game view becomes blank when using Frame Debugger with MSAA and Texture binding enabled in Play Mode
- NullReferenceException is thrown when changing the Inspector preview selection
- The build size is larger when Models have Animation Type set to Generic
Add comment