Search Issue Tracker
By Design
Votes
0
Found in
2019.4
2020.3
2020.3.2f1
2021.1
2021.2
Issue ID
1328511
Regression
No
Editor hangs in Play Mode when instantiating a Mesh every frame on macOS
How to reproduce:
1. Open the user's attached project from "SurvivalIsland.zip"
2. Open Scene "TestScene"
3. Enter Play Mode
Expected result: Editor shows a warning or any sort of indication of the abundance of objects or memory issues
Actual result: Editor freezes or machine restarts
Reproducible with: 2019.4.25f1, 2020.3.6f1, 2021.1.5f1,2021.2.0a15
Couldn't test with: 2018.4.34f1 (Project code wasn't implemented)
First lines of the stack trace (submitted by user, couldn't produce a crash locally):
#0 0x007fff6a51481d in objc_msgSend
#1 0x00000111b03d43 in GUIView::ProcessInputEvent(InputEvent&)
#2 0x00000113e8bd27 in -[GUIRenderView handleEvent:]
#3 0x00000113e8beec in -[GUIRenderView mouseDown:]
#4 0x007fff2eabe5f0 in -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:]
#5 0x007fff2ea28e21 in -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:]
Note:
1. Reproduced only on macOS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
If the code ends up creating large resources every frame and never releases them, everything will halt due to memory issues, meaning that all resources must be released according to ones memory size