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

Large objects are displayed in the "Stack Variable" list as <null> #70756

Closed
tebz opened this issue Dec 30, 2022 · 2 comments
Closed

Large objects are displayed in the "Stack Variable" list as <null> #70756

tebz opened this issue Dec 30, 2022 · 2 comments

Comments

@tebz
Copy link

tebz commented Dec 30, 2022

Godot version

v4.0.beta10.official [d0398f6]

System information

Windows 10, 32GB ram

Issue description

Large arrays/images (and probably other objects) are displayed in the "Stack Variable" list as "null"
It would be nicer if they were displayed as "to large to display", if it's not possible to display them in the "Stack Variable" list
The limit seems to maybe be 0xffff bytes.

Steps to reproduce

var nnn := []
var rnd = RandomNumberGenerator.new()
for i in 262142:
	nnn.append(rnd.randi)
# put breakpoint here

Minimal reproduction project

N/A

@L4Vo5
Copy link
Contributor

L4Vo5 commented Jan 4, 2023

This affects any Object as long as the sum of its exported variables is big enough.
The limit seems to be 2^20 bytes.
Annoyingly, it propagates infinitely. I encountered this bug when I had a Resource storing another Resource into an exported array, and the second Resource happened to have a big enough exported variable inside.

@Calinou
Copy link
Member

Calinou commented Feb 1, 2024

Thanks for the report! Consolidating in #39465.

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

4 participants