这是indexloc提供的服务,不要输入任何密码
Skip to content

Detail layer is partially missing only when the scene containing the HTerrain node is instanced during runtime. #480

@Holly9001

Description

@Holly9001

Describe the bug
In my game, after you die, the game map is queue_free-d and replaced with a new instance of said map. When first loading into the game, the detail layer is as expected. But after you die and the map is replaced with a new instance, huge chunks of the map's details are missing.

To Reproduce
Steps to reproduce the behavior:

  1. Run a project that contains a scene with a HTerrain node that has detail layers.
  2. Have this same scene be preloaded inside of a variable.
  3. Queue_free the original scene, then add an instance of the variable-stored scene as a child of the root.
  4. Detail layer will (in my case at least) be partially missing.

Expected behavior
I expected the detail layer to look the same whether or not the HTerrain node was part of an instanced scene, or part of the root scene that exists upon game boot.

Screenshots
If applicable, add screenshots to help explain your problem.

Hterrain detail on game boot:
Image

Hterrain detail on instanced scene:
Image
Image

Environment

  • OS: Windows 11
  • Graphics card: NVIDIA GeForce GTX 1650
  • Godot version: 4.4.1
  • Plugin version: 1.7.3 dev
  • Renderer used: Forward +

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions