Help, how do I fix the preview? it worked initially but rn it’s not working and it keeps showing a black screen whenever I try to preview it.
idk what happened and what I did wrong
Help, how do I fix the preview? it worked initially but rn it’s not working and it keeps showing a black screen whenever I try to preview it.
idk what happened and what I did wrong
Hi - I suspect that it’s the camera actions - have you tried turning them off. If im using lerp i use a hidden object ‘focus’ and centre camera on that
![]()
at the moment I think you’re lerping the camera to player and hard setting camera to player at the same time.
the key released …ani to idle will cause problems if you want other animations.
Either use platform character animator behaviour, or a branching tree of platform logic or finite state machine to trigger the animations
Use the smooth camera extension & behaviour if you want to have the camera to smoothly follow the player. If you do this, you can then remove the first event entirely.
Are you previewing the game from the “game start” scene? Or does it start with the “main menu” scene?
What does your scene look like in the editor? Does it have multiple layers? If so, you may need to move the camera on them too.
Hi @sepstudio2025!
It’s certainly a problem of choice of layer (Base Layer in your case)
I suspect that le layer “Base Layer” has a black background.
You must have based your game on an another layer which is probably the beginning of your game.
Can you verify that?
A+
Xierra
PS: i tested it with Base Layer in black for my last game and effectively, the scene is rendered in black!
Are you using any while events. Sometimes, a black screen is the result of something like a while event without a way to exit which can create an infinite loop.
hello!! sorry for the late reply. i found out yesterday that it’s my laptop that was the problem
since when i tried previewing it on my phone and other devices, the preview shows. idk whats the problem tho, i tried deleting stuff cs i thought it was justt my storage, but it still has the same issue
![]()
okay, as of now imtrying to replace it with smooth cam behavior
heres what the scene looks like btw:
You cant take a screenshot? just saying it would be easier to c.
hello! sorry for the late reply. i can now see the preview of my game. thanks a lot for everyone’s help
![]()