Skip to content

Addressables (and Custom) Scene Loading #2868

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
JohnBaracuda opened this issue Apr 4, 2024 · 0 comments
Open

Addressables (and Custom) Scene Loading #2868

JohnBaracuda opened this issue Apr 4, 2024 · 0 comments
Labels
type:feature New feature, request or improvement

Comments

@JohnBaracuda
Copy link

Right now, NGO's NetworkSceneManager can't work with Unity's Addressable scenes. In my setup, I depend on data and event assets shared across the game, necessitating the use of addressable scenes to some extend. The current NGO framework limits us from switching to our preferred scene management method because the essential components, specifically the ISceneManagerHandler and its default assignment to DefaultSceneManagerHandler, are internal and not easily replaceable. The whole issue was previously discussed in a closed Issue #423, where a fork was used as a workaround which is a solution I'd prefer to avoid.

Integrating a custom scene provider into NetworkSceneManager might be a solution, enabling a more flexible approach to scene loading. Alternativlely allowing us to replace or extend the ISceneManagerHandler setup or the NetworkSceneManager itself, by making these components not internal, could solve the problem without needing to fork the NGO repository.

Avoiding Addressable Scenes isn't a practical option for me. It would require a significant overhaul of my systems that rely on asset-based events and data, which are accessed and modified by various systems such as UI, player interactions, and scenes.

I've also considered building my own system. However, creating a solution for Addressable scene management to function alongside NGO's existing framework feels like an unnecessary duplication of effort. Moreover, it seems this would require me to add features like auto scene migration support, addressing a problem which to me seems to be rooted at a different level, specifically syncing scene IDs and providing scenes. I'd prefer to see enhancements to the existing NetworkSceneManager to directly support Addressables or at least make it possible to replace the NetworkSceneManager with a custom implementation.

I am not an expert in these matters and I hope that my request is not too uneducated. I will continue to search for solutions.

@JohnBaracuda JohnBaracuda added stat:awaiting-triage Status - Awaiting triage from the Netcode team. type:feature New feature, request or improvement labels Apr 4, 2024
@michalChrobot michalChrobot added stat:reply-needed Awaiting reply from Unity account and removed stat:awaiting-triage Status - Awaiting triage from the Netcode team. labels Apr 1, 2025
@michalChrobot michalChrobot removed the stat:reply-needed Awaiting reply from Unity account label Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:feature New feature, request or improvement
Projects
None yet
Development

No branches or pull requests

2 participants