Skip to content

Sorting Offset is no longer accessible from Inspector #114333

@sczerwinski

Description

@sczerwinski

Tested versions

  • Reproducible in: 4.6-beta2
  • Not reproducible in: 4.5.1-stable

System information

Windows 11 - Godot 4.6-beta2 - D3D12 12_0 (Forward+) - NVIDIA GeForce RTX 3070

Issue description

Sorting Offset is no longer showing up in Inspector for VisualInstance3D. The property sorting_offset still exists, but it must be set from the script.

After migrating to Godot 4.6, and saving an existing scene, sorting_offset is removed from the .tscn file.

This is not listed as a breaking change, but it certainly breaks how some decals are displayed. Thus, I believe this change wasn't intentional.

Image

Steps to reproduce

  1. Create a 3D scene.
  2. Add a Decal node.
  3. In Inspector tab, try to find Sorting Offset.

Minimal reproduction project (MRP)

Minimal scene:

[gd_scene format=3 uid="uid://c8phv6hj56v4a"]

[node name="Node3D" type="Node3D" unique_id=851090735]

[node name="Decal" type="Decal" parent="." unique_id=406297387]

Minimal project:

sorting-offset-issue.zip

Minimal scene for 4.5 -> 4.6 migration:

[gd_scene format=3 uid="uid://b36lo627d1rm4"]

[node name="Node3D" type="Node3D"]

[node name="Decal" type="Decal" parent="."]
sorting_offset = 10.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions