Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 /
avatar image
0
Question by insominx · Jul 23, 2012 at 04:24 PM · texturesmemory

Memory Profiler - Understanding the numbers

So I'm looking at some numbers for the default empty scene containing only a camera ("Main Camera") and see the following in the profiler:

alt text


My questions are:

  1. Under Textures, what does the number 918 mean?

  2. Why does an empty scene have 32 Meshes, 26 Materials, etc...?

profiler.png (13.4 kB)
Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
2
Best Answer

Answer by Bovine · Jul 23, 2012 at 04:54 PM

Okay, I converted to an answer.

I suspect you're profiling within the editor and seeing the editor resources as well as game resources.

I ran a dev build outside the editor and the numbers collapsed somewhat:

alt text


screen shot 2012-07-23 at 18.00.44.png (9.8 kB)
Comment
Add comment · Show 2 · 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 insominx · Jul 23, 2012 at 05:19 PM 0
Share

You're right, I was in the editor but I connected to an outside of editor deployed build and got numbers that made sense (like your example). Thanks!

avatar image Bovine · Jul 23, 2012 at 05:52 PM 0
Share

No worries, I couldn't figure it out at first either.

avatar image
0

Answer by shinriyo_twitter · Mar 26, 2013 at 07:22 AM

I met similar situation

http://forum.unity3d.com/threads/175585-Profiler-bug-(Texture)?p=1200861

It is 3.6MB

What grab the memory? for OnGUI? I don't use OnGUI so I want release the memory

Comment
Add comment · Show 2 · 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 Bovine · Mar 28, 2013 at 01:06 PM 0
Share

As I've already pointed out. If you profile within the editor you will see resources the editor is using as well.

avatar image whydoidoit · Mar 28, 2013 at 01:08 PM 0
Share

And this includes the new "Detailed View" snapshot - you have to run it on the device or it can be wildly higher. You can try to make it more accurate by using EditorUtility.UnloadUnusedAssets with a bit of editor script. Otherwise it will include assets from multiple scenes + the editor stuff.

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

7 People are following this question.

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

Related Questions

Sprite-based animation - mobile memory issue 0 Answers

Textures suddenly failing to load on iOS during long session 0 Answers

Some textures don't load on iOS 0 Answers

reading a texture that was created via script runtime and not saved 1 Answer

App Crashing on iPhone due to Texture Memory 2 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