Search Issue Tracker

Fixed

Fixed in 6000.4.4f1, 6000.5.0b5, 6000.6.0a4

Votes

0

Found in

6000.4.2f1

6000.5.0b3

6000.6.0a2

Issue ID

UUM-139152

Regression

No

Crash on UnityEngine.RuleTile:RuleMatches when building specific scenes

2D

-

How to reproduce:
1. Open the attached “IN-138738” project
2. Navigate to File > Build And Run
3. Observe the crash

Reproducible with: 6000.4.0a1, 6000.4.2f1, 6000.5.0b3, 6000.6.0a2
Could not test with: 6000.0.72f1, 6000.3.0a6, 6000.3.13f1, (could not solve errors from downgrading)

Reproduced on: Windows 11
Not reproduced on: No other environment tested

Notes:
- The crash does not occur after removing the 2D Feature set
- The crash only occurs when building the “Menu“ and “Hubby World“ scenes

First few lines of the stack trace:
0x000001FE4DC28372 (Mono JIT Code) [.\Library\PackageCache\com.unity.2d.tilemap.extras@66df903b3633\Runtime\Tiles\RuleTile\RuleTile.cs:577] UnityEngine.RuleTile:RuleMatches (UnityEngine.RuleTile/TilingRule,UnityEngine.Vector3Int,UnityEngine.Tilemaps.ITilemap,int,bool)
0x000001FE4DC25BBB (Mono JIT Code) [.\Library\PackageCache\com.unity.2d.tilemap.extras@66df903b3633\Runtime\Tiles\RuleTile\RuleTile.cs:403] UnityEngine.RuleTile:RuleMatches (UnityEngine.RuleTile/TilingRule,UnityEngine.Vector3Int,UnityEngine.Tilemaps.ITilemap,UnityEngine.Matrix4x4&)
0x000001FE4DC24995 (Mono JIT Code) [.\Library\PackageCache\com.unity.2d.tilemap.extras@66df903b3633\Runtime\Tiles\RuleTile\RuleTile.cs:213] UnityEngine.RuleTile:GetTileData (UnityEngine.Vector3Int,UnityEngine.Tilemaps.ITilemap,UnityEngine.Tilemaps.TileData&)
0x000001FE4DC254E0 (Mono JIT Code) (wrapper runtime-invoke) <Module>:runtime_invoke_void__this___Vector3Int_object_intptr& (object,intptr,intptr,intptr)
0x00007FF838B26C0E (mono-2.0-bdwgc) [C:\build\output\Unity-Technologies\mono\mono\mini\mini-runtime.c:3445] mono_jit_runtime_invoke

  1. Resolution Note:

    Fixed in 6000.6.0a4

  2. Resolution Note (fix version 6000.6.0a4):

    Fixed in 6000.6.0a4

  3. Resolution Note (fix version 6000.5.0b5):

    Fixed in 6000.5.0b5

  4. Resolution Note (fix version 6000.4.4f1):

    Fixed in 6000.4.4f1

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.