-
-
Notifications
You must be signed in to change notification settings - Fork 21.5k
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
Debugger show large variable as [null] when getting Image from Viewport texture (the reference still works) #36801
Labels
Comments
bitsycore
changed the title
Debugger show var as [null] when print() and use work
Debugger show var as [null] when getting Image from Viewport texture (The reff still work)
Mar 4, 2020
I updated the original MRP to work at HEAD and confirm this matches #74148: Fresh MRP: 36801.zip With:
Output:
Debugger errors:
|
This was referenced Apr 16, 2023
Calinou
changed the title
Debugger show var as [null] when getting Image from Viewport texture (The reff still work)
Debugger show large variable as [null] when getting Image from Viewport texture (the reference still works)
Sep 17, 2023
Closing in favor of #39465, as this is due to the same cause. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version:
Issue in 3.2 and and 3.2.rc1
No issue in 3.1.2
OS/device including version:
Tested on Windows on two computer but the bug doesn't appear in 3.1.2 so I didn't tried in another OS because I assumed it's not a OS related issue
Issue description:
When I get the image from the texture of an instanced Viewport the resulting image (duplicate() or not) appear [null] in the debugger but print() actually print it's ID and the use of this var work.
Even other var appeared to be [null] in the debugger but the only problem I isolated was the viewport one. (I'll link a project with the viewport bug)
Steps to reproduce:
get_texture().get_data() from a Viewport inside your scene and assign it in a var
Minimal reproduction project:
Isolated Viewport
Bug-null-ref-debugger.zip
Another little project with this issue but when I was writing that issue and changing project multiple time with the minimal it work now (but the minimal still bug)
https://github.com/Coldragon/godot-voronoi-shader-generator
The bug is inconsistent for me now exept for the minimal project, it's really weird
edit : you can see the conversation I got with another user from the Discord
https://discordapp.com/channels/212250894228652034/477544613511692358/684839269033967639
The text was updated successfully, but these errors were encountered: