Some objects not showing up in packaged build

Hello, some of the objects in my scene are not showing up in my packaged build. I am using level streaming, everything works fine in the editor and in VR preview. I’ve checked and rechecked all the objects. Often the same model is used in different parts of the level, and they will show up fine in some but not in others. Other parts of the streaming level are working fine, it’s just some objects are missing. Any suggestions what might be happening? Thanks!

Hi Spectral Illusions,

I’m not sure there is enough information here to start looking into this. I’ll need the following to proceed.

  • List any and all known steps to reproduce the issue.
  • Can you reproduce this in a new blank project or is this only happening in your project?
  • List your setup for your scene or provide a sample project that can be used to investigate.
  • List what VR devices you’re using or have tested with that this occurs with.
  • Is this only happening in VR preview/Packaged game or does it happen without VR Preview?
  • You may want to do a test with 4.12 to make sure that this wasn’t already resolved.

Something for you to try as well is to make sure that you set all the Streaming Levels to Always Loaded in your Levels window. This can easily rule out that something isn’t just being loaded correctly. If this fixes the issue you need to make sure that you’re correctly loading things from these because by default they are set to be loaded by Blueprints.

Thank you!

Tim

Hi Tim,
Thanks for your response. This is a pretty large project that I have been working on for about 6 months. It has 18 streaming levels involved, so I can’t really answer your first 2 points. It’s a Vive game, and everything works perfect in VR preview, all the issues are only in the packaged build.
I did a build this morning with all the streaming levels sets to Always loaded and everything was correct and not missing anything. Then I put them back to blueprints and packaged again, and my problem is still there.
All the streaming levels are loading, it’s just some of the static geometry is missing in each of them.
When I open the level on it’s own, all the geometry is in there. It’s all working perfect in VR preview.
Also, for example in the first offending streaming level, there are 2 copies of the same model, and 1 shows up but the other doesn’t. It seems like it just isn’t loading everything in the packaged build.
I am going to try to move the project over to 4.12, but first I need to clear out space on my drive.
I need to have a packaged build ready by this weekend for a convention, so I’m in a bit of a panic to get this figured out. Any more suggestions you have would be much appreciated! Thanks for your help!

I just tried a build in 4.12 and it did not fix the problem.
I can’t find much documentation on the options for streaming under project settings. Would any of these settings have something to do with the issue I’m having? Thanks!

I’ve been doing more testing using 4.12. When the game starts, it loads the first 2 streaming levels (which work fine in build) but each new level it streams during gameplay is missing some of the static meshes. I moved the first offending streaming level to load with the original first 2, and in the build all the missing objects are there and correct.

But I need to stream in the order I originally have set up to maintain frame rate. One other thing happening at event begin play is setting some quality settings and popping the game into the headset ( shown in this screenshot) On my last project I had some issues in packaged builds with shadows not showing up. Adding the delay before popping into the headset fixed that problem on that project, so I was thinking maybe something here had something to do with this problem, but builds I’ve tried disabling this seems to have no effect.

.

So I just did another test where I converted all the static meshes in the first offending streaming level to a blueprint. Again everything is fine in VR preview, but in packaged builds some of the meshes are still not showing up. Other parts of the blueprint are there, so I know the level is loaded, but for some reason it’s not loading everything. What could cause this? Could it be some sort of timing or memory problem? I’m really at a loss here! Thanks!

Just did another test in editor where I tried Standalone game instead of Vr preview. The levels are streaming in with all the geometry correct there as well. There is a “flash to white vive world” each time it streams a level, but all the geometry is correctly there. So the problem is really in the packaged build only.

Do you think you can provide a sample where this is happening, but not the full project? I’ve not been able to reproduce this at this point.

Hi Tim, Thanks for your help. I have a temporary solution to my immediate problem, which is just to run the game directly from the editor, and I was able to successfully demo it for several hundred people this weekend. We are demoing it again this coming weekend at VRLA, and I’m swamped getting everything ready for that, so I don’t have time to focus on this issue until next week.
I’m not sure yet if I can replicate the problem in a sample scene, but I can send you the full project. I’m pretty sure whatever is causing the problem in the first streaming level is more then likely whats causing it in the other levels.
If you can email me at info@spectralillusions.com with where to send it via dropbox, I can get it to you next week, Thanks again!

You can share via a PM on the forums. Thanks.

Hi Tim, I finally found the problem. It looks like the names of the disappearing meshes were too long.
Once I went in and renamed them all they are now showing up correctly in the build. The weird thing is that they were showing up in some parts and not in others, with the same name. Anyways, Thanks again for your help.

Hi Tim, I finally found the problem. It looks like the names of the disappearing meshes were too long.
Once I went in and renamed them all they are now showing up correctly in the build. The weird thing is that they were showing up in some parts and not in others, with the same name. Anyways, Thanks again for your help!