Closed
Description
Tested versions
Reproducible in: 4.4.1-stable, 4.0-stable
System information
Windows 11 - All renderers - AMD Radeon RX 5600 XT
Issue description
When a Marker3D
is added to a node by a @tool
script, the Marker3D
will not be drawn in the 3D viewport.
Marker2D
s do not have this issue.
Steps to reproduce
- Create a new 3D scene with a Node3D as its root
- In the 3D viewport, under View, uncheck "Show Origin" or "View Origin", depending on your version
- Attach a new, non-built-in script to the root node
- Paste the following code into the script and then save it:
@tool
extends Node3D
func _ready():
add_child(Marker3D.new())
- Save the scene, close it, and re-open it
- The Marker3D will not be drawn
Minimal reproduction project (MRP)
N/A