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

Label3D inside SubViewport goes grey when resizing window with stretch mode canvas_items #96699

Closed
GabeJWJ opened this issue Sep 8, 2024 · 0 comments · Fixed by #96708
Closed
Assignees
Milestone

Comments

@GabeJWJ
Copy link

GabeJWJ commented Sep 8, 2024

Tested versions

  • Found in Godot v4.2.2.stable (210e8b958) with GodotSteam built-in, reproducible in vanilla Godot v4.2.2.stable and Godot v4.3.stable

System information

Godot v4.2.2.stable - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce GTX 1070 Ti (NVIDIA; 31.0.15.5186) - AMD Ryzen 5 5600X 6-Core Processor (12 Threads)

Issue description

I have 3d objects (including Label3Ds) in a 2d scene using a SubViewportContainer. I have my stretch mode set to canvas_items. I resize the window, and the Label3Ds go grey and never come back. Looks a lot like issue 63507, but I have confirmed the SubViewportContainer is necessary.

report1 report2

Steps to reproduce

To re-create the MRP:

  • Create a simple 2D scene with a SubViewportContainer and a SubViewport
  • Inside that Subviewport, create a simple 3D scene with camera pointing at a Label3D with text on it
  • Set Project Setting display/window/stretch/mode to canvas_items

Now you have the same setup as the MRP. Finally to get the broken behavior:

  • Launch the game and resize the game window

Minimal reproduction project (MRP)

mrp.zip

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

Successfully merging a pull request may close this issue.

3 participants