Unity-Technologies / AutoLOD

Automatic LOD generation + scene optimization
https://blogs.unity3d.com/2018/01/12/unity-labs-autolod-experimenting-with-automatic-performance-improvements/
Other
1.81k stars 212 forks source link

SceneLOD and Multiple Scenes #51

Closed Beowulfe222 closed 4 years ago

Beowulfe222 commented 5 years ago

Loving these plugins so far, but running into some issues with SceneLOD on one of my projects. It's a relatively large project, and is split into multiple scenes that are loaded additively on top of each other (using the plugin https://assetstore.unity.com/packages/tools/utilities/advanced-multi-scene-cross-scene-references-47200 - though I suspect the same issue would be present just using Unity's built-in additive scene system).

As far as I can tell, SceneLOD doesn't handle multiple scenes appropriately. I've tried to make some local changes to the code base to get it working properly, but haven't been able to get it fully functional yet. Is multiple scene support something that might be handled at some point, or should I start considering coding our own HLOD system?

amirebrahimi commented 5 years ago

You are correct. Multiple scene support is not supported. However, the details are important -- how would you want multiple scene support to work? Would you want each subscene to manage it's own HLOD levels independently? That'd be the easiest way to do it. Otherwise, if you want multiple subscenes to merge their HLODs, then you'd likely need a simplifier that'd work at runtime or at the very least you'd have to combine the meshes.

If you're planning to code your own HLOD system, then perhaps we can collaborate on adding this feature. I don't have a lot of cycles for this project currently, but if we get clear on what is needed, then the work you'd do anyway could benefit the project. So, I'd be willing to see what would be needed on my end to support.