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

Godot 4: VisibleOnScreenNotifier3D does not emit screen entered signal consistently #65406

Closed
macryc opened this issue Sep 6, 2022 · 6 comments

Comments

@macryc
Copy link

macryc commented Sep 6, 2022

Godot version

4.0 alpha 12-15

System information

Win10, GLES3, RTX 2070 mobile

Issue description

VisibleOnScreenNotifier3D emits the screen enter signal only once. When the camera looks away and then back on the visibility notifier node, the node will not emit the screen enter signal any more. I noticed the issue first in alpha 12 and it's still present in alpha 15.

Steps to reproduce

  1. open any 3d project, put a VisibleOnScreenNotifier3D in.
  2. Run the project, move the notifier node off screen (or move the camera so that the notifier is off screen)
  3. Move the notifier back into the frame (or turn camera towards notifier)
  4. no signal is emitted

Minimal reproduction project

No response

@venilark
Copy link

venilark commented Dec 30, 2022

tested it on beta 10 and it seems working fine but I don't see the camera_entered signal that was present in the old VisibilityNotifier

@Sezotove
Copy link

I've been able to replicate this in 4.0b13.

Notifiers and enablers do not fire the OnScreen signal if they're a child and they set their parent to visible = false.

Notifiers, If you make it a sibling of the node you want to 'manage' it will fire the signals, however they're still very inconsistent and do not appear to be working as intended.

@takhimi
Copy link

takhimi commented Feb 9, 2023

#72905 (comment)

This is how it is for Godot 4. Kinda sad really..

@JonqsGames
Copy link
Contributor

JonqsGames commented Feb 12, 2024

In my case even with parent visible, VisibleOnScreenNotifier3D works in desktop but when deployed to web it just doesn't work.

@AThousandShips
Copy link
Member

That's because the notifier is only available on Vulkan, see here

@AThousandShips
Copy link
Member

Assuming from the comments above that this is specifically about visibility notifiers that are hidden, they do indeed not work, by design, see:

Closing as this is not a bug, if the original issue was not this please update here

@AThousandShips AThousandShips closed this as not planned Won't fix, can't repro, duplicate, stale Feb 12, 2024
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

7 participants