Skip to content

Conversation

viridia
Copy link
Contributor

@viridia viridia commented Aug 18, 2025

Objective

Fixes #20571

Solution

Used SpawnWith to lazily spawn some entities.

Testing

I tested this manually, but as I am unable to reproduce the bug myself I hope someone will be able to verify it for me.

@james7132 james7132 added C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples A-UI Graphical user interfaces, styles, layouts, and widgets O-Windows Specific to the Windows desktop operating system labels Aug 19, 2025
@james7132 james7132 added this to the 0.17 milestone Aug 19, 2025
Copy link
Member

@james7132 james7132 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just locally tested this on my Windows 11 machine and main stack overflowed, while this ran without issue.

@james7132 james7132 added the S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it label Aug 19, 2025
@mnmaita
Copy link
Member

mnmaita commented Aug 19, 2025

@viridia aside the overflow fix, this looks much better! Should be ready to go after running the formatter IMO.

@alice-i-cecile alice-i-cecile added X-Controversial There is active debate or serious implications around merging this PR S-Needs-Design This issue requires design work to think about how it would best be accomplished and removed S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Aug 19, 2025
@alice-i-cecile
Copy link
Member

Blocking on design discussion in #20571: I am very reluctant to simply mask the problem here.

@alice-i-cecile
Copy link
Member

Closing in favor of #20772, which I think we should land for 0.17 instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior C-Examples An addition or correction to our examples O-Windows Specific to the Windows desktop operating system S-Needs-Design This issue requires design work to think about how it would best be accomplished X-Controversial There is active debate or serious implications around merging this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Stack overflow with large-ish Bundle spawn
4 participants