Search Issue Tracker

Active

Under Consideration for 6000.6.X

Votes

0

Found in

6000.3.11f1

6000.4.0f1

6000.5.0b1

6000.6.0a3

Issue ID

UUM-138495

Regression

No

[Mac][Metal] Failed assertion on validateCommonDrawErrors when Buffer is overrun

Metal

-

Reproduction steps:

  1. Open XCode on a macOS Apple Silicon machine (M1 or later)
  2. In the Menu bar, choose Debug -> Debug Executable
  3. Choose the attached “Autobuild.app” as the executable to debug
  4. Start the executable (Button with play symbol)
  5. Wait for the App to start
  6. Open the in-game terminal (F1) (If it is not already open)
  7. type “preview level_01” and hit enter
  8. Wait for the level to load, after another short wait the App will close out with an assertion
  9. Observe the XCode console window

Actual result: An assertion is shown: -[MTLDebugRenderCommandEncoder validateCommonDrawErrors:]:5970: failed assertion `Draw Errors Validation Vertex Function(xlatMtlMain): argument UnityInstancingDOTS_InstanceVisibility[0] from Buffer(1) with offset(4190720) and length(4194304) has space for 3584 bytes, but argument has a length(4096).'
Expected result: The App does not assert and therefore does not close

Reproducible with: 6000.3.12f1
Couldn’t test with: 6000.0.72f1, 6000.4.1f1, 6000.5.0b2, 6000.6.0a1

Reproducible on: macOS 26.3.1 (M1, M3)
Not reproducible on: No other environments tested

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.