Level Streaming (possibly?) Issues.

Hello,

First of all, thanks for getting in touch!

I wanted to start by saying that I’ve come across your work here and there, and I even caught a livestream a few months ago about VR with Alex Coloumbe– and man… really impressive stuff!

I’ve been diving into the world of PC/VRmyself, with full-on ray tracing, and the results have been nothing short of incredible - Although that’s a whole different story!


When it comes to working within the editor, I did notice something interesting. Despite the fact that the results in the editor aren’t always spot-on accurate – I made some fixes to what appeared to be causing issues in the editor, along with some necessary optimizations, and it did help mitigate the problem to some extent.

Initially, I was enjoying a smooth experience, but then, out of the blue, things took a turn for the worse.

During standalone testing, I happened to spot a red error message right around the same time I noticed that some textures were taking a bit longer to load, and that’s when the FPS issue reared its head.

Here are a few specifics:

  • I’ve made sure that none of my textures exceed 2048x2048 pixels.
  • I’ve also made an effort to minimize the use of transparent elements.
  • I’ve got about 10-12 static lights, one in each level, and they don’t overlap.
  • On the shader complexity front, everything seems to be in the brownish-red zone, indicating that they’re not exactly ideal, though I’ve been struggling to significantly improve this.
  • I’ve implemented LODs as expected.
  • Collision-wise, there isn’t much going on anywhere.
  • In each level, almost everything is completely static, apart from some fishes in a couple of levels that are underwater.

Now, here’s the kicker: Each level is actually quite light on assets. Some might have a few more triangles than strictly necessary, but nothing that should be causing this level of performance trouble, especially after it ran smoothly for a few rounds.

At this point, I’m starting to suspect it might be a logic error. Perhaps something’s awry with the way I’m handling the loading and unloading processes, or it’s possible that I’m not entirely loading the streaming levels as I should.

To sum it up, I’m in a bit of a head-scratching phase, trying to make sense of this perplexing situation. :thinking:

If you’ve got any insights or suggestions, I’d be all ears!
Thanks for your time!