Before updating to Windows 10 you may need to return your Pro license. More information here

Disabling Mesh Renderer for Inactive Objects

At present, in my application, all objects are loaded but hidden, i.e. under the floor plane.

The reason for this was to ensure that all loading occurs at the beginning of the app and not throughout. I'm aiming for a smooth run-through regardless of initial load time.

Now, my question is, if the Mesh Renderer is inactive, does this mean that any processing power for rendering the object is saved and as a result the app runs smoother? Or does disabling the mesh renderer simply hide the object from the viewer?

There are about 10 objects in total, each are used at different times, so a solution to save memory and hide any irrelevant objects would be greatly appreciated

more ▼

asked Jul 30, 2012 at 01:59 PM

avatar image

168 35 29 33

AFAIK disabling the renderer does remove the object from the rendering queue and is the only solution.

One could suggest to disable the whole gameObject (with SetActiveRecursively for example). But in my experience this removes almost everything from memory which is not what you want.

I will let experts answer this question (that's why I will keep my contribution as a comment)

Jul 30, 2012 at 02:05 PM Kryptos
(comments are locked)
10|3000 characters needed characters left

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

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

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Jul 30, 2012 at 01:59 PM

Seen: 819 times

Last Updated: Jul 30, 2012 at 02:06 PM