Skip to content
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

Load Asset bundles and instantiate Prefabs with Object Pool #275

Open
EmilieHK opened this issue Aug 5, 2021 · 0 comments
Open

Load Asset bundles and instantiate Prefabs with Object Pool #275

EmilieHK opened this issue Aug 5, 2021 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@EmilieHK
Copy link
Contributor

EmilieHK commented Aug 5, 2021

With the aim of relocating the 3D models and corresponding prefabs on potentially a server, a loading system needs to be implementing, which fetches the assets as asset bundles and extracts the required files for the environments display.
The following links can be used as a guidline:
Load Asset Bundle: Load asset bundle from server using url
http://docs.unity3d.com/ScriptReference/Networking.UnityWebRequest.GetAssetBundle.html?_gl=1*k56rar*_ga*MTk1OTU1NTA2My4xNjExMTUyNDIy*_ga_1S78EFL1W5*MTYyODE2MTAxNC4yMS4wLjE2MjgxNjEwMTQuNjA.&_ga=2.225467802.1295851764.1628156427-1959555063.1611152422
Load Assets: Load prefab or skybox by name from the corresponding asset bundle
https://docs.unity3d.com/ScriptReference/AssetBundle.LoadAsset.html?_gl=1*3xaz5l*_ga*MTk1OTU1NTA2My4xNjExMTUyNDIy*_ga_1S78EFL1W5*MTYyODE2MTAxNC4yMS4wLjE2MjgxNjEwMTQuNjA.&_ga=2.191066538.1295851764.1628156427-1959555063.1611152422

Furthermore, to decrease the performance overhead a Object Pool for the usage of the environment prefabs should be used as implemented by the i5 Toolkit. See https://rwth-acis.github.io/i5-Toolkit-for-Unity/1.6.2/manual/Object-Pool.html for this.

@EmilieHK EmilieHK added the enhancement New feature or request label Aug 5, 2021
@EmilieHK EmilieHK added this to To do in Virtual Environments Aug 5, 2021
@EmilieHK EmilieHK moved this from To do to In progress in Virtual Environments Aug 5, 2021
@EmilieHK EmilieHK moved this from In progress to To do in Virtual Environments Aug 5, 2021
@EmilieHK EmilieHK moved this from To do to In progress in Virtual Environments Aug 5, 2021
@JulianStaab JulianStaab moved this from In progress to To be tested in Virtual Environments Aug 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Virtual Environments
  
To be tested
Development

No branches or pull requests

2 participants