Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prior working project now builds to a black screen using the Compatibility Renderer #78608

Closed
zapposh opened this issue Jun 23, 2023 · 7 comments · Fixed by #78620
Closed

Prior working project now builds to a black screen using the Compatibility Renderer #78608

zapposh opened this issue Jun 23, 2023 · 7 comments · Fixed by #78620

Comments

@zapposh
Copy link

zapposh commented Jun 23, 2023

Godot version

4.1 beta 3

System information

Windows 11

Issue description

Project builds and displays fine in all releases of Godot 4.x up until and including 4.1 beta 2.
When opening the project in 4.1 beta 3, it builds to a black screen, without crashing.

Switching from the Compatibility Renderer to Forward+ solves the issue.
Switching back to Compatibility breaks the build again

Reverting back to beta 2 also solves the issue, regardless of the renderer used.

Steps to reproduce

  • create a project in a version of Godot 4.x prior to beta 3, using the Compatibility renderer
  • open and build the project in Godot 4.1 beta 3
  • switch between different renderers to get the build to display

Minimal reproduction project

N/A

@akien-mga
Copy link
Member

Could you run the project from the command line with the --verbose option (using the _console.exe binary so it properly shows output in the console), and paste the output here? Should be something like:

cd C:\path\to\project
C:\path\to\Godot_v4.1-beta3_win64_console.exe --verbose

@zapposh
Copy link
Author

zapposh commented Jun 23, 2023 via email

@clayjohn
Copy link
Member

Could you provide a bit more information about your project? For example, what node types you use. I am not seeing the same problem in my projects, but I may be missing some crucial element that is causing the issue.

@zapposh
Copy link
Author

zapposh commented Jun 23, 2023

godot_project_structure

Here is the basic project structure.
Levels are loaded in under the scene manager, but I cannot even get that far in beta 3. Other versions work fine.

Let me know if you need anything else.

@clayjohn
Copy link
Member

clayjohn commented Jun 23, 2023

@zapposh Is your SubViewportContainers filter mode set to nearest? I can reproduce a black screen with the following setup:
image

So long as the SubViewportContainer is using nearest filtering

CC @arkology This might be the same as your issue

@zapposh
Copy link
Author

zapposh commented Jun 23, 2023 via email

@clayjohn
Copy link
Member

Okay, most likely a regression from #78285. Should be a quick fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants