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

Windows Store Apps

-

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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.