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

Bug with VisibilityEnabler and AudioStreamPlayer #100320

Open
pixel-boy opened this issue Dec 12, 2024 · 0 comments
Open

Bug with VisibilityEnabler and AudioStreamPlayer #100320

pixel-boy opened this issue Dec 12, 2024 · 0 comments

Comments

@pixel-boy
Copy link

pixel-boy commented Dec 12, 2024

Tested versions

The bug is present in the stable 4.3 version and the several 4.4 dev versions that I have tried.

System information

Godot v4.4.dev6 - Windows 10.0.19045 - Multi-window, 2 monitors - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; 32.0.15.6636) - AMD Ryzen 7 2700X Eight-Core Processor (16 threads)

Issue description

Having a scene with this layout:

Node2D
-- VisibilityEnabler2D
-- AudioStreamPlayer

print this error in the debugger

E 0:00:01:0513   can_process: Condition "!is_inside_tree()" is true. Returning: false
  <Source C++>   scene/main/node.cpp:865 @ can_process()

In the editor version it does not pose a problem, on the other hand in the exported version it causes undesirable behavior (queue_free no longer destroys the scenes concerned by this problem in the project where I had it)

Edit: After further testing I realized that the bug related to queue_free comes from elsewhere, the error exists but it does not seem to create more problems during export.

Steps to reproduce

  • create a scene with a Node2D that has as child a VisibilityEnabler2D and an AudioStreamPlayer
  • Launch game
  • an error appears in the debugger

Minimal reproduction project (MRP)

Minimal Project.zip

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

No branches or pull requests

2 participants