Hi !
I have an app that uses sublevels (I have the persistent level with my character and all my usual blueprints, and one sublevel with all the models the artists give me, so i can use my “code” on many projects and juste add new content as a sublevel).
As we must make this app compatible with the oculus rift, i’m not using any gui.
Everything works as expected, until we try to reset the levels. Basically, i have a keyboard event en level blueprint that trigger a full reload so we can get our app at its starting state.
It’s perfect when using the app without the oculus, but if the oculus is plugged, then the app crashes.
What i tried :
- Reload the level with an “Open level” node. With or without the “absolute” parameter.
- Reload the level with the “Execute console command” node and “RestartLevel” command.
- Looped on widgets of class and remove them before reloading, just to be sure, as suggested in another post.
- Packaged in Shipping 32bits and Develoments 64bits.
When i try it in the editor (even with the “VRPreview” play mode, it works fine too. It’s just with the packaged version.
I have Unreal 4.7.6 and use DK2 on runtime 0.5.0.1-beta.
Any idea what’s going wrong ? Did anyone had a similar problem ?
EDIT : Found the dump file of the error and it says :
Exception code : 0xC0000005
Exception Information : This thread tried to read from or write to a virtual address for which it does not have the appropriate access.