"Bug Related to Object's Respawn Condition When Out of Camera View"

Encountered a test window crash issue while creating an object. Here’s the setup causing the problem:

Object’s BaseSettings Configuration

  • Activation condition in node: Enable when approached
  • Respawn condition after disappearance: Respawn when 30+ units beyond the camera

Issue Details

  • When approaching the object to enable it, the object spawns with state actions: ① Change variable ② Wait 1 second ③ Self-delete
  • The test project crashes immediately after, with no error message.

Workaround

  • Changing the respawn condition to “on scene switch” fixes the issue, and the object functions normally on re-approach.

Has anyone experienced a similar crash or have insights on what might be causing this? Any help is appreciated!

Is there a minimal project that can reproduce the issue?

Found the issue: the absence of an objectRoot node prevents the game object (act node) from functioning, causing the app to crash.

If it inevitably causes a crash, it should be considered a bug. Can you create a minimal reproduction project?

BUG3.zip (1023.6 KB)

  1. Bug: Character2 respawns outside the camera

    • If respawned under the scene’s parent object, the editor immediately freezes and crashes.
    • If respawned under ObjectRoot, it respawns normally outside the camera range, but crashes after too many respawns.
  2. Prefabbed scene issue: Cannot determine distance for scene objects (tiles)

    • If initially set to full-map distance checking, objects perform the check once, but subsequent checks do not occur.

///

  1. Character2 のカメラ外復活に関するバグ
  • シーンの親オブジェクト配下で復活させると、即座にエディタがフリーズしてクラッシュします。
  • ObjectRoot 配下では、カメラ範囲外で正常に復活するものの、復活回数が多くなると同じくクラッシュが発生します。
  1. プレハブシーンの距離判定問題
  • プレハブ化したシーンに含まれるタイルオブジェクトに対して、「距離判定」の条件が働きません。
  • 初期設定で「全図範囲で距離判定」を有効にすると、オブジェクトは一度だけ判定を実行しますが、その後の判定が更新されません。

///

  1. Bug with Character2’s revival outside the camera
  • If revived under a parent object in the scene, the editor immediately freezes and crashes.
  • When placed under ObjectRoot, it revives normally outside the camera range, but crashes after too many revivals.
  1. Distance check issue with prefab scenes
  • Tile objects in prefab scenes don’t trigger the ‘distance check’ condition.
  • If set to ‘full map distance check’ initially, objects execute the check once but don’t update it afterward.

It can be confirmed that a crash occurs after waiting for a few seconds after running. This bug has been reported.

The crash issue no longer seems to occur after version 1.0.14. Please verify this.

Yes, meow. Now it only requires the papa2d parallax node to generate and respawn away from the camera, including respawning under a parent object in the scene.