rpm-unity-sdk-core
rpm-unity-sdk-core copied to clipboard
Unity got Stuck on Reload/Completing Domain after Import RPM package or switch platform (2022.3.x)
Describe the bug After import RPM package from Git on project, has a chance to be stuck on reimport after compiling, startinbg on Realoading Domain phase, then backing to compiling assemblyes starting this loop. Tested on XR Template Project from Unity Hub, and Universal 3D Core Template from Hub too.
Files manifest.json manifest.json
To Reproduce Steps to reproduce the behavior:
- Create a blank project on the informed version (which can be XR template or URP template as well)
- Import RPM core package (tested on core 6.0 and above)
- in case the bug doesn´t happen, try to switch platform to Windows Server, for exemple.
- See error
Expected behavior After the project´s compilation, Unity will try to finalize but aparently RPM package makes something that stuck for a while on Reload Domain, then restart the process of recompiling, and this keeps forever....
Desktop (please complete the following information):
- Ready Player Me Core version: 6.0.0, 6.2.3, 6.2.4
- Ready Player Me WebView version default
- glTFast version : 6.0.1
- Unity Editor version 2022.3.24, 2022.3.29
- Render Pipeline and version Universal Render Pipeline: 14.0.11
- Operating System Windows
- Platform: Windows Player, Windows Server
looks like the cause is around the ReadyPlayerMe.Core.Editor.ModuleInstaller class; Apparently the 'DelayCreateCoreSettings' keeps being called every time. i added a unzipped version of the release on the Asset folder, and removed the attribute '[InitializeOnLoad]' of this class for now. i´m not sure why the problem is happening, but... that was the workarround here.
Did you have the define symbol
READY_PLAYER_ME in your player settings (for each target platform) ?
It should get auto added after installation and once added it should prevent it from reinstalling
Yes, i Check it, and as a switch to Server Platform starts to inifnity realod .
When installed this methos runs as expected, but as soon as i change platform to server.... it´s like it never imports and settups RPM opn projet before. Event when i re-install just because is on Server Platform... inifinity Domain Reload.