Search Feedback

25
votes

Enable TLA_DEBUG_STACK_LEAK in ThreadsafeLinearAllocator.cpp.

Scripting

-

-

I have been occasionally getting this error message for a while (across multiple Unity versions):

Internal: JobTempAlloc has allocations that are more than 4 frames old - this is not allowed and likely a leak

Since I upgraded to Unity 2018.2, this error message is followed by this one:

To Debug, enable the define: TLA_DEBUG_STACK_LEAK in ThreadsafeLinearAllocator.cpp. This will output the callstacks of the leaked allocations

However, I don't have access to ThreadsafeLinearAllocator.cpp. It would be helpful if debugging for leaked allocations could be turned on, or at least if we had the option to.

Comments (2)

  1. 3c77503a3eead4d2d35b2081cb96193a?d=mm

    ZiggyZeg2005

    Dec 02, 2018 18:05

    I've been having this problem too. I'm learning how to code in untiy, and i did the exact same thing as in the tutorial (from 2017 btw). But when i added a script that would write what my player collided with in the console, It just came with the same error message as you. I don't know what is happening, but i just thought i'd say this so you know you are not alone. Good luck :)

  2. F5783bbe26316e5f534b146b56c71b35?d=mm

    NoDumbQuestion

    Oct 12, 2018 08:09

    For extra detail. I also receive this error with Headless build. From early build, I notice it is related to animation somehow.

Your opinion counts

Help us make things better. Share your great idea for improving Unity or vote for other people’s.

Log in to post a new idea

Categories

All

(10781)

2D

(281)

Ads

(55)

AI & Navigation

(82)

Analytics

(133)

Animation

(396)

Asset Store

(355)

Asset Store Publisher

(17)

Assets

(543)

Audio

(184)

Cloud Build

(145)

Collaborate

(64)

Docs & Tutorials

(240)

Editor

(2507)

Everyplay

(19)

Game Performance Reporting

(22)

General

(980)

Graphics

(870)

GUI

(432)

Input

(173)

Licensing

(92)

Networking

(189)

Physics

(384)

Platforms

(442)

Profiling & Optimization

(85)

Runtime

(182)

Scripting

(1168)

Terrain

(172)

WebGL

(143)