Search Issue Tracker

Active

Under Consideration for 1.5.X, 2.5.X

Votes

0

Found in [Package]

1.5.1 - Collections

2.5.1 - Collections

Issue ID

ECSB-1349

Regression

No

Some of the "NativeText" methods use "stackalloc" which causes a stack overflow when "NativeText" is used for larger buffers in Windows machines

Package: Unity Native Collections

-

How to reproduce:
1. Open the “native_text_to_string_bug“ project
2. Open the “SampleScene“
3. Enter the Play Mode
4. Observe the Console window

Expected result: No errors
Actual result: “System.StackOverflowException: The requested operation caused a stack overflow.“ error

Reproducible with: 1.2.4, 1.5.1 (2021.3.44f1), 2.4.3, 2.5.1(2022.3.50f1, 6000.0.23f1)

Reproducible on: Windows 10 Pro (22H2)
Not reproducible on: macOS 14.6.1 (Intel)

Note: Full errors in the comments

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.