Search Issue Tracker

Won't Fix

Votes

0

Found in

2017.4

2019.3.0b8

2020.1

Issue ID

1195488

Regression

No

[macOS]Dynamic line renderer code crashes unity on __abort_with_payload when Line Renderer/Positions is open in the Inspector

MacOS

-

How to reproduce:
1. Open the attached unitybug.zip project
2. Open the "BSplineLineRenderer" scene
3. Enter the Play mode
4. Ensure the "LineRenderer" game object is selected for the Inspector window
5. Ensure that "positions" drop view in the Line Renderer Component is expanded
6. Click the Game window and drag the mouse to outwards to cause the line renderer code to run
====Crash occurs====

Reproducible with: 2017.4.34f1, 2020.1.0a12

Reproducible with: Mono, IL2CPP, macOS Catalina

Not reproducible with: Windows, macOS Mojave

Notes:
-
- The Editor crash is not reproducible if the layout is changed and the "positions" drop view is not big enough (see the video provided in the link in the Edit section)

Stack trace first lines (full stack trace in the Edit section):
__abort_with_payload
os_channel_create_extended.cold.1
__bt_split.cold.1
_os_avoid_tail_call
-[NSView(NSInternal) enableGeometryInWindowDidChangeNotification]
-[NSWindow(NSCursorRects) _addCursorRect:cursor:forView:]
-[NSView addCursorRect:cursor:]

  1. Resolution Note (2020.1.X):

    It turns out this issue is a bug in MacOS 10.15 (Catalina) with cursor rectangles. I've verified that Apple has fixed the issue in the latest Catalina patch beta.

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.