rpm-unity-sdk-core
rpm-unity-sdk-core copied to clipboard
Infinite Loading Loop On Switch Platform
Title Infinite Asset Import Loop When Switching to Linux Server Build Target with RPM Installed
Description When switching the Unity build target to Linux Server, Unity enters an infinite asset import loop. This behavior only occurs when the Ready Player Me (RPM) package is installed.
After extensive testing and isolating the issue, I confirmed that the RPM package is the cause. Removing the RPM package stops the import loop entirely.
I suspect the issue stems from RPM’s editor-related scripts trying to load meshes or models — likely to prepare avatars for scene injection. Since Linux server builds run in a headless, graphics-less environment, the mesh/model import fails. However, the RPM system seems to keep retrying the import, which results in an infinite loop while still inside the editor.
Steps to Reproduce Create a Unity project with the RPM Asset Store package installed.
Switch platform to Linux Server via Build Settings.
Observe Unity entering an infinite asset import loop (Editor becomes unresponsive and never completes the import process).
What I’ve Tried Attempted to exclude RPM editor scripts via Assembly Definitions for Linux Server builds — no effect.
Verified issue is RPM-specific by removing RPM and confirming the import loop no longer occurs.
Searched documentation and forums, no relevant fixes found.
Asked ChatGPT — the suspected cause is likely RPM trying to load mesh data inside an environment that doesn't support it (Linux headless server mode).
Expected Behavior Unity should successfully switch to the Linux Server platform without entering an import loop — ideally, RPM editor scripts or mesh operations should not execute for server-targeted builds.
Actual Behavior Unity Editor becomes stuck in an endless asset reimport cycle, making development for Linux Server builds impossible unless RPM is uninstalled.
Environment Unity Version: [6000.0.51f1 and 6000.0.54f1]
RPM Version: [7.3.1]
OS: [Windows 11]
Target Platform: Linux Server
Networking: Mirror