Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.3.0a10

2018.3.4f1

2019.1.0a1

2019.2.0a1

Issue ID

1123350

Regression

No

dynamic_bitset::test crash when Instantiating objects

Scene Management

-

Steps to reproduce:
1. Open User-supplied project
2. Open Scene "laboratory"
3. Run the scene

Expected: no crash
Actual: crash

Reproduced in: 2018.3.4f1, 2019.1.0b2, 2019.2.0a4

The root of the problem is infinite recursive call with the object instantiating.
It crashes with "StackOverflow" exception (as we could expect for infinite recursion).

  1. Resolution Note:

    The recursive implementation of GenerateChunk in Wold.cs results in a stack overflow. Recent versions of Unity handles this and correctly throws a stack overflow exception. The fix is for the user to reimplement GenerateChunk without recursion.

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.