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
- Default Custom Components in project have Library counterparts
- [iOS]"The destination host has an erroneous SSL certificate" error is thrown when using UnityWebRequest to connect to the server with a self-signed certificate
- Freeze/crash on DynamicHeapAllocator::Allocate when opening a specific project
- Text Settings Inspector sections names have no padding
- UI elements shrinking, misaligned buttons, swapped icons, or incorrect styles when rapidly cycling through Scenes in the Player
Add comment