Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
12 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
  • Help Room /
avatar image
3
Question by Abuthar · Sep 25, 2017 at 03:07 AM · memory-leaklateupdateallocation

Memory leak and Allocation

So I've loaded up my project, ready to make some progress today and the console keeps spamming this :

"Allocation of 78 bytes at 0635d900" "Allocation of 78 bytes at 0635d120"

and lots more of the same. At the bottom of this stack i get:

"Assertion failed: TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations"

I have not made any significant changes to my project at all, so it seems to me this problem came out of no where. Also worth nothing, in the Profiler something called 'PostLateUpdate.MemoryFrameMaintenance' is at 48.3%. If I expand it, it shows 'LogStringToConsole' at 47.4% and if I expand that, 'Application.CallLogCallback()' at 30.4% and that is it, nothing else there.

I lose maybe 50 FPS at the start of playback and little by little the ram usage of the Unity Editor goes up by 1mb every 2 seconds, tested for 15 minutes and it does not stop or crash. As time goes on the FPS drops, ranging between 1 and 4 at the lowest.

not being from a programming background I am lost as to what this could be. Is anyone else experiencing this issue?

I've opened and ran my project in Unity versions :

2017.1.0f3

2017.1.1

5.6

5.5

But the problem persists. I've also tried Reimporting all my assets and creating a new scene and deleting scripts and other data 1 by 1 then reimporting.

And as a last note, I do not use late update in my project and update is used sparingly. I have 1 script with 16 functions which are all called from UI Event Triggers.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ChiKler · Mar 01 at 03:34 PM 0
Share

Still happens in Unity 2021.2.11f1

18 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by deplorablemountaineer · Jan 31 at 01:39 AM

Problem still happens with Unity 2021.2.9f1; seems to happen when you have a terrain in the scene with several layers. I have sent a bug report, but am used to my bug reports being summarily closed with "can't reproduce" or something to the effect it's a feature rather than a bug or whatever and wasting effort to send the report to have it closed with no action is a bit tiring.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by WarpZone · May 06, 2018 at 02:15 PM

Still happening in May of 2018 with Unity 2017.4.1f1. Apparently they have no intention of actually fixing this bug and will Resolve tickets about it without fixing it.

Why would they do this? Who knows. One theory is it's a psychological scare tactic to get people to upgrade to 2018. Technically 2017 works fine, but when it's throwing thousands of warnings and errors every time you click play, it's hard to feel confident that your game's the best it could be. So if you can update, you do.

Of course, it's best practice for Unity developers not to update in the middle of making a game, since updates always break lots of things. But Unity Team needs an incentive to keep people updating. They can't sell the new "services" without it.

Scare tactics like this one (and other forms of deliberate built-in "friction") are the inevitable result of a morally bankrupt industry that uses Metrics, rather than User Satisfaction, to drive development. First this mentality infected Mobile. Then it infected Steam. Then it infected AAA console games, and now it's spread to the very tools themselves.

All thanks to Unity Team's hiring of John Riccitiello, former head honcho of the Once and Future Worst Company in America, Electronic Arts.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Skelly1983 · Jul 13, 2018 at 03:44 PM 0
Share

If I had enough reputation to down vote this would have, as this is absolute nonsense.

Why would Unity allow users to download different versions if this was the case, in fact you can download any version of Unity all the way down to 3.x.

avatar image
0

Answer by Cuttlas-U · Sep 25, 2017 at 09:15 AM

hi; that 'LogStringToConsole' is for Using "Debug.Log" Or "Print" in your scripts; do u have any of these in your scripts ?

if so then try to delete or commend them ; it will cause problems in export too ;

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Abuthar · Sep 25, 2017 at 03:01 PM 0
Share

I've actually removed all debug instances from all of my scripts and the issue is still there sadly! I wonder if it's unity internal, I haven't tried reinstalling again.

avatar image
0

Answer by DarkSealer · Oct 06, 2017 at 09:02 AM

I have something similar and I think is some bug. There was a ticket with some error like this 4 months ago and that ticket was tagged as Resolved, but it seems there are more things to be done.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by duke_meister · Jun 09, 2018 at 01:12 PM

Happens in 2018.2.0b6

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • 3
  • 4
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

132 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is TLS Allocator ALLOC_TEMP_THREAD, underlying allocator ALLOC_TEMP_THREAD has unfreed allocations and how do I fix it. 11 Answers

Unity Allocation 0x0xc00002d0 Already Registered 0 Answers

assetBundle memory can not be free 0 Answers

Memory leak on Application.Quit()? 0 Answers

Kill Player Method Doesn't Work ? 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges