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

[4.3] Viewport Texture Must Be Set To Use It #827

Closed
David-Everlasting-Media opened this issue Oct 30, 2024 · 2 comments · Fixed by #828
Closed

[4.3] Viewport Texture Must Be Set To Use It #827

David-Everlasting-Media opened this issue Oct 30, 2024 · 2 comments · Fixed by #828
Labels
bug cherrypick:godot-4.3 Considered for cherry-picking into a future 4.3.x release from Godot topic:core topic:editor

Comments

@David-Everlasting-Media

Tested versions

Reproducible in 4.3.beta.1.mono.

System information

Windows 11 (other users report some versions of Linux as well)

Issue description

Sprite3D loses SubViewport texture assignment at runtime, even though it is correctly set.
False error.

PR has been merged to Godot master branch already: godotengine/godot#97029

Steps to reproduce

In most cases game must be run before the assignment error appears.

New or existing Redot project, attempt to make 3D UI via the following steps:
Add Sprite3D to Scene (or prefab scene)
Add SubViewport as child of Sprite3D (or above it)
Add UI Elements and scale.
Assign Subviewport texture to Sprite3D
Run the game.

The error may not be immediately apparent.
Create an animation to fade the modulation of the Sprite3D at runtime, or change size. Changing the size of the subviewport triggers it in the editor before runtime, sometimes.
Run the game.

Minimal reproduction project (MRP)

broken-viewport-texture-assignment-MRP.zip

@Spartan322 Spartan322 changed the title [BUG]Viewport Texture Must Be Set To Use It Viewport Texture Must Be Set To Use It Oct 31, 2024
@Spartan322 Spartan322 added topic:3d cherrypick:godot-4.3 Considered for cherry-picking into a future 4.3.x release from Godot topic:editor and removed topic:3d labels Oct 31, 2024
@Spartan322 Spartan322 changed the title Viewport Texture Must Be Set To Use It [4.3] Viewport Texture Must Be Set To Use It Oct 31, 2024
@Spartan322 Spartan322 linked a pull request Oct 31, 2024 that will close this issue
@Spartan322
Copy link
Member

Fixed by #828

@github-project-automation github-project-automation bot moved this from Open to Done in Engine Overview Nov 1, 2024
@David-Everlasting-Media
Copy link
Author

Hi guys, sorry for necro, just confirming I've tested 4.3.beta.3.mono and the fix for this is working. Thanks fam. <3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug cherrypick:godot-4.3 Considered for cherry-picking into a future 4.3.x release from Godot topic:core topic:editor
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants