Skip to content

Unable to Synchronous load scene resources or prefab in AssetBundle. #1593

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

Closed
jadeeeeeeeee opened this issue Jan 17, 2022 · 4 comments
Closed
Labels
type:feature New feature, request or improvement

Comments

@jadeeeeeeeee
Copy link

Good afternoon.

Describe the bug
I met a problem. Unable to Synchronous load scene resources or prefab in AssetBundle.
Scene resources ,it must be added to Build settings —— Scenes In Build.

Environment (please complete the following information):

  • OS: [e.g. Windows 10]
  • Unity Version: [e.g. 2019.4.3]
  • Netcode Version: [e.g. v0.1.0]
  • Netcode Commit: [e.g. https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/tree/release/0.1.0]

Additional context
1.
......
NetworkObjectPrefab = AssetBundle.LoadAssetAsync (assetName, type);
NetworkObjectPrefab.SpawnWithOwnership(clientId);
......

......
NetworkSceneManager.SwitchScene(sceneName);
......

@jadeeeeeeeee jadeeeeeeeee added stat:awaiting-triage Status - Awaiting triage from the Netcode team. type:bug Bug Report labels Jan 17, 2022
@VALERE91Unity
Copy link
Contributor

Hello, addressables and asynchronous loading for NEtwork Objects are not supported by the SDK at this moment. This is under consideration for our roadmap and we are actively checking on it.

@jadeeeeeeeee
Copy link
Author

Thank you for your reply . When will the roadmap start , and i want to use it urgently.

The Netcode version I use is [e.g. v0.1.0]

@ashwinimurt
Copy link
Contributor

This is not a bug. Adding Feature Tag.

@ashwinimurt ashwinimurt added type:feature New feature, request or improvement and removed type:bug Bug Report labels Mar 29, 2022
@NoelStephensUnity
Copy link
Collaborator

NGO's NetworkSceneManager does not support runtime updates of the scenes that can be loaded.
It doesn't mean it is not possible... you would just need to handle the loading of that particular scene yourself which means disabling scene management and writing your own scene management solution.

You can load addressable based prefabs, but not scenes.

@michalChrobot michalChrobot removed the stat:awaiting-triage Status - Awaiting triage from the Netcode team. label Jan 15, 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

5 participants