Hello! I am working on a 2D game in Unreal Engine with 3 different levels. In each of the levels there is what I assume to be a sphere that my player character cannot pass through (images 1 and 2). However, if I open the level on its own and play it, it’s not there (images 3 and 4). If I “step out” of the game and click on my BP_Character (image 5) you can see the sphere (highlighted in purple) alongside the actual sprite (orange rectangle). I’ve looked through the blueprint and viewport trying to find what it is but have found nothing that should be causing this. Would anyone know what it is and how to get rid of it?
The Images
F8 and click the sphere. Then you can see from the outliner what it is.
I have done this and nothing happens. What is supposed to happen and how would it help the problem?
F8 suspends play, but all the objects are still in the scene. You can either click on it ( if you can find it ), or look in the outliner and see what it is. Then you will probably know what to do…
-
that sphere might be in the persistent level.
I assume you have 4 levels: 3 actual game levels and 1 persistent level used to load the other 3.
In this case, the persistent level will always be visible and if it contains the sphere, you’ll always see it when you’re playing (the persistent level is, well, persistent lol) but if you open each single level you will not see it, since it’s in the persistent. -
you have an actor which is spawning the object during “beginplay” event.
In this case you can hit play (so your game will spawn the object) and then press F8 or Alt+S to unpossess your pawn. Clicking on the object should highlight which actor it is from (look at the outliner). This way you should be able to figure out why it is there and how to solve the issue.