Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in Output when loading a project and having a scene with ScatterCache inactive #160

Open
HoutarouOreki opened this issue Sep 13, 2023 · 0 comments

Comments

@HoutarouOreki
Copy link

I get loads of errors in Output when opening a project and having a tab of a scene open but inactive with ScatterCache. If instead when opening the project the tab with this scene is active or not open at all, I do not get these errors.

So errors appear on scene load if the tab is inactive.

This happened with both AssetLib version and the latest version from v4 branch.

Video

At the beginning of the video the project loads. There are tabs "world_scene" and "player". This time, the "player" tab is open after loading and there are errors in output.

Then I change the active tab to "world_scene" which has a ScatterCache. I reload the project and there are no errors.

Then I change the active tab back to "player" and reload the project, and the errors are there again.

scatter_bug_inactive_tab.mp4

Errors from Output

 (3) scene/3d/node_3d.cpp:324 - Condition "!is_inside_tree()" is true. Returning: Transform3D()
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/scatter.gd:716 - Invalid get index 'process_frame' (on base: 'null instance').
  (2) scene/3d/node_3d.cpp:324 - Condition "!is_inside_tree()" is true. Returning: Transform3D()
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  res://addons/proton_scatter/src/common/scatter_util.gd:74 - Cannot call method 'get_node_or_null' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  res://addons/proton_scatter/src/common/scatter_util.gd:74 - Cannot call method 'get_node_or_null' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/scatter.gd:716 - Invalid get index 'process_frame' (on base: 'null instance').
  (2) scene/3d/node_3d.cpp:324 - Condition "!is_inside_tree()" is true. Returning: Transform3D()
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/scatter.gd:716 - Invalid get index 'process_frame' (on base: 'null instance').
  (2) scene/3d/node_3d.cpp:324 - Condition "!is_inside_tree()" is true. Returning: Transform3D()
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/scatter.gd:716 - Invalid get index 'process_frame' (on base: 'null instance').
  (2) scene/3d/node_3d.cpp:324 - Condition "!is_inside_tree()" is true. Returning: Transform3D()
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  res://addons/proton_scatter/src/scatter.gd:489 - Cannot call method 'get_child_count' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/scatter.gd:716 - Invalid get index 'process_frame' (on base: 'null instance').
  (2) scene/3d/node_3d.cpp:324 - Condition "!is_inside_tree()" is true. Returning: Transform3D()
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/common/scatter_util.gd:67 - Cannot call method 'get_edited_scene_root' on a null value.
  scene/main/node.h:412 - Condition "!data.tree" is true. Returning: nullptr
  res://addons/proton_scatter/src/scatter.gd:716 - Invalid get index 'process_frame' (on base: 'null instance').

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant