When I run my game, black screen appears, but disappears when I resize the window. What's the problem?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Montasir Raihan

Hello, I’m trying to make 2D splitscreen multiplayer. I’m following this tutorial - https://kidscancode.org/godot_recipes/2d/splitscreen_demo/

Here’s my node structure-

TutorialLvl (Node)
    HBoxContainer
        ViewportContainer2
            Viewport
                Camera2D
        ViewportContainer1
            Viewport
                World
                Camera2D

I did everything what I’ve learned from this tutorial. Everything’s ok. I don’t see any kind of errors in the debugger. But the problem is when I run this scene, I see nothing but black screen. But when I resize the window, the black screen disappears and I can see my characters and everything around it. Any idea what’s going on? If it’s an error, how do I solve it?

Thank you in advance.

I did same steps but no black screen. And no need for resize. I’m on Godot 3.3.2 … the minimap is causing trouble for me.

clemens.tolboom | 2021-07-27 14:22

Then why isn’t it working for me?

Montasir Raihan | 2021-07-27 16:32

I don’t know … maybe I did a non documented step or read an instruction differently? Best you can do is start again from the zip :open_mouth:

clemens.tolboom | 2021-07-30 07:51