Search Issue Tracker

Fixed

Fixed in 1.0.X - Entities

Votes

5

Found in [Package]

1.0.X - Entities

Issue ID

ECSB-354

Regression

Yes

“Leak Detected : Persistent allocates 26 individual allocations” error appears after installing the “Netcode for Entities” package and entering Play Mode

Package: Unity Netcode

-

How to reproduce:
1. Open the user’s attached “Default Project Name.zip” project
2. Enter Play Mode and observe the Console window

Expected result: No errors
Actual result: “Leak Detected : Persistent allocates (number) individual allocations” error appears

Reproducible with: 1.0.8 (2022.2.15f1, 2022.2.21f1, 2023.1.0b18, 2023.2.0a16)
Not reproducible with: 0.51.1-preview.21 (2020.3.48f1, 2021.3.26f1)
Could not test: 1.0.0-pre.65 (2022.2.15f1) (known issue)

Reproduced on: macOS 13.2.1 (Intel)

Note: reproducible in a new project when adding the “Netcode For Entities” package and entering Play mode

  1. Resolution Note (fix version 1.0.X - Entities):

    Fixed in: Entities 1.0.11 (2022.2.15f1 and above)

Comments (5)

  1. PaperPrototype

    Sep 01, 2023 23:20

    I am having the same problem! On Mac OS (m1 chip)

  2. GameJing

    Jul 22, 2023 13:27

    Unity 2023.1.5f1
    Leak Detected : Persistent allocates 32 individual allocations.

  3. fac7or

    Jun 18, 2023 21:42

    Also experiencing this issue on 2022.3.2f1 LTS.

  4. korlinga

    May 24, 2023 00:20

    Oh, and my console is reporting "Leak Detected : Persistent allocates 132 individual allocations. To find out more please enable 'Jobs/LeakDetection/Full StackTraces' and reproduce the leak again." specifically. The error starts when I first add a script using Unity.Entities to a sub-scene GO

  5. korlinga

    May 24, 2023 00:17

    I'm getting this issue without Netcode For Entities. I have the following packages installed in Unity 2022.2.19f1:

    Burst 1.8.4
    Collections 2.1.4
    Core RP Library 14.0.7
    Custom NUnit 1.0.6
    Entities 1.0.8
    Entities Graphics 1.0.8
    JetBrains Rider Editor 3.0.21
    Mathematics 1.2.6
    Mono Cecil 1.11.4
    Probuilder 5.0.7
    Scriptable Build Pipeline 1.21.3
    Searcher 4.9.2
    Serialization 3.1.1
    Settings Manager 2.0.1
    Shader Graph 14.0.7
    Test Framework 1.1.33
    TextMeshPro 3.0.6
    Timeline 1.7.4
    Unity Profiling Core API 1.0.2
    Unity UI 1.0.0
    Universal RP 14.0.7
    Version Control 2.0.4
    Visual Scripting 1.8.0
    Visual Studio Code Editor 1.2.5
    Visual Studio Editor 2.0.18

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.