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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Add comment