Search Issue Tracker

Active

Planned for 2020.3.X, 2021.2.X, 2022.1.X

Votes

10

Found in

2020.1.0b14

2020.3

2021.2

2021.2.5f1

2022.1

Issue ID

1386242

Regression

Yes

[M1] "System is running out of memory" error is thrown when using Profiler as a Standalone Process with Deep Profile turned on

MacOS

-

How to reproduce:
1. Open the user attached "URP_BasicDecalExample.zip" project
2. Enter Play mode
3. Open the Profiler as a Standalone Process (Window -> Analysis -> Profiler(Standalone Process))
4. Turn on the Deep Profile setting in the Profiler
5. Open the Console

Expected result: No errors
Actual result: A "System is running out of memory" warning and error is thrown

Reproducible with: 2020.1.0b14, 2020.3.25f1, 2021.2.7f1, 2022.1.0b2
Not reproducible: 2019.4.34f1, 2020.1.0b13

Note:
- Reproduction is somewhat inconsistent, multiple tries might be required
- Only reproducible on M1
- The issue is also reproducible when baking the scene

Comments (7)

  1. 046f3af7bafe4964462e07a92610b1dc?d=mm

    manurocker95

    Jan 14, 2022 19:23

    This same error happens when baking lighting in big scenes with GPU

  2. 6e7bcaa11a4209084e1cde5404fab981?d=mm

    Orkun_SRZ

    Jan 13, 2022 22:38

    Please fix.

  3. 06d29bdb1393e67351b1ecf1fa3eac2d?d=mm

    andrewpey

    Jan 11, 2022 04:01

    Yeah, it's 2020.3.x of course, thanks for the notice.

  4. 8cbabcc02003822951510a746a1318d0?d=mm

    Alejandro-Martinez-Chacin

    Jan 10, 2022 20:55

    To further expand, on a higher spec'ed system. Same behavior, just a lower "% usage% reported (less than 20%).
    MacBook Air 16GB, 1TB SSD (just 100GB used).

    On Unity 2021.1.28f1 and 2021.2.7f1 (Apple Silicon version) the error triggers.

    Regarding the original commenter, 2021.3.X, is that a typo relating to 2020.3.x instead?

  5. 8cbabcc02003822951510a746a1318d0?d=mm

    Alejandro-Martinez-Chacin

    Jan 05, 2022 05:22

    Another data point if it helps, Unity 2021.1.28f1, MacBook Air M1 (8GB... will be trying in a 16GB one very soon).
    Difference is normal profiler (non-standalone) and no need to do a deep profiling, the shallow one also makes it happen.

    Error log reads as follows:
    Used memory (physical and paged): 46% (7138MB of 15360MB). Discarding profiler frames data.

  6. 06d29bdb1393e67351b1ecf1fa3eac2d?d=mm

    andrewpey

    Dec 26, 2021 23:41

    We also tried to do the same build with 2021.3.12 and it works for M1 players without issues.

  7. 06d29bdb1393e67351b1ecf1fa3eac2d?d=mm

    andrewpey

    Dec 26, 2021 23:40

    We receive reports that our game Voxel Tycoon eats a lot of memory and then crashes on Mac M1 (only) after the latest update where we moved from 2021.3.12 to 2021.3.25. We wonder if it is related to this issue.

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.