I’m working on a project consisting of different ArchViz scenes that will be used both in VR (HTC Vive) and desktop mode. It is actually several houses that are split up in different levels.
Each house consists of three levels:
- Persistent level: Environment (lights, landscape, skydome etc.)
- Sublevel 1: House (walls, floor, ceiling, windows etc.)
- Sublevel 2: Props and furniture
When I load a level I get a performance hit the first 10-20 seconds. There is lag and stuttering which is especially noticable in VR. I assume it comes from loading all the level contents. The CPU goes to about 50% load to later go back to a much lower number. After that everything is fine performance-wise and totally smooth running, even in VR. This happens even on the inital load of the project in the packaged build when one of the house levels is started.
If I during runtime open another level with another house the same effect comes back, 10-20 seconds of stuttering and then fine again.
I should say that I use the “open level” command and not loading/unloading streaming levels.
I have worked successfully with very detailed ArchViz scenes in VR before without having this issue. Is this problem due to the fact that sub-levels are in use?
Any suggetions for a solution would be greatly appreciated!