Search Issue Tracker
Fix In Review
Votes
6
Found in
2019.4
2020.1
2020.1.16f1
2020.2
2021.1
Issue ID
1297783
Regression
No
Allocation leak warnings are thrown when in Play Mode with Netcode package imported
How to reproduce:
1. Create a new project
2. Import the NetCode package from the Package Manager (or add "com.unity.netcode": "0.5.0-preview.5" in manifest.json)
3. Enter Play Mode
Expected result: Play Mode is entered and no warnings occur
Actual result: warnings are constantly thrown: 'Internal: deleting an allocation that is older than its permitted lifetime of 4 frames'; 'Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak'
Reproducible with: 2019.4.16f1 (0.0.1-preview.6, 0.2.0-preview.5), 2020.1.16f1, 2020.2.0b13, 2021.1.0a9 (0.5.0-preview.5)
Could not test with: 2018.4.30f1 (package not compatible)
Comments (3)
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
- Scene dependency changes do not trigger a scene re-hash during Content Archives build
- Crash on PhysicsCommands::PhysX::CreateCharacterController when a Prefab containing a CharacterController Component is Instantiated with NaN position values
- TextMeshPro Text Component reads bottom-to-top instead of top-to-bottom when using RTL Editor
- Xcode crash on "AudioToolbox`AQ::API::V2Impl::AudioQueueProcessingTapGetSourceAudio" when repeatedly opening and closing video via AVPro Video's MTAudioProcessingTap on macOS 26.0+
- Burger button in the Multiplayer Play Mode window is not visible when using the Light theme
skiplist
Mar 07, 2022 08:43
I think not printing these warnings in release builds would be a reasonable. Right now it just tanks performance for no reason by logging these false positives.
scorpiopl
Mar 06, 2021 15:38
Same error on 0.6.0-preview.7 2020.2.7f1.New project. Instantly after importing NetCode in Editor mode.
VinayUbi
Feb 02, 2021 12:15
Got this is 2020.2.2f1 as well with NetCode version 0.6.0-preview.7
Used [UpdateInGroup(typeof(ServerSimulationSystemGroup))]