[4.3] Viewport Texture Must Be Set To Use It #827
Labels
bug
cherrypick:godot-4.3
Considered for cherry-picking into a future 4.3.x release from Godot
topic:core
topic:editor
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
The text was updated successfully, but these errors were encountered: