I am trying to simulate being in a game match, opening a menu, closing it and resuming the same level.
I have collision for the player capsule as well as the floor. What doesn’t make sense is that collision is fine on initial spawn. I can run around and jump just fine, but the moment I access my menu, close it and return to the level, my player falls through the floor. I’ve checked all the usual suspects that other posts concerning “player falls through floor” entail. Any ideas?
EDIT: My blueprint for when I open the Menu is as follows:
I thought I was only checking the visibility of my Test_World level. If it is visible, then I load the Menu stream level and then set the Test_World level to not visible. If Test_World is not visible (meaning I’m in the Menu) and I press the Menu button again, then my blueprint specifies to set Test_World to not visible, and unload the Menu stream level. So you are saying, despite all of this…Test_World is still getting re-loaded, causing my player to fall through?
For clarification, I’m trying to simulate being in a game match, opening/closing a menu, and resuming playing, all in the same level. I’m not trying to load a different level from the menu.
Am I misunderstanding the Load Stream Level by Name? If I put the name of the level (Menu) in there, then checking the “Make Visible After Load” box is saying to make the Menu Stream Level visible after loading the Menu stream level, not after loading my currently streaming level Test_World. Is this wrong?
I have Menu and Test_World underneath my Persistent Level of Base_Level. Test_World is set to Always Loaded, and Menu is set to Blueprint. Now when I hit the Open Menu button, none of my blueprints change the Test_World that my character is standing on, except the visibility of it. The only Unload/Load being done is on the Menu stream level. That’s why it’s not making sense to me.
That’s a great suggestion, and something I will probably do in the end. I think what’s killing me now is that if I wanted to do it the current way, I can’t figure it out. Or worse, if I needed to do it this way for some reason, I can’t figure why my dude is falling through the floor.
I found in some other post that setting the Visibility of a streaming level supposedly destroys the actors and then spawns them again when set to visible. That doesn’t sound right to me but if that is true then you are correct.