How to remove lag in editor

I first noticed this when I was moving the text around the canvas using the Rect/UI tool, the one you press the “T” key for. There is some notable lag when I move it around. I tried some other things such and switching to 3D and back to 2D, and picking a color, and it lags for all of that. I never did anything in the inspector for the Number Wizard game and didn’t notice it then.

At first I thought this is the same problem I’ve had with all Unity versions for a while, where the first time I start it, it lags, so I just close it and re-open it and it’s all smooth as butter. Here though, it continues to lag.

I know it’s not my computer because I opened V5.6 alongside this one, and it ran perfectly fine, no lag at all. It seems to be isolated to V4.6.9f1. I’ve tried looking for a solution to this but so far have found nothing.

Any help would be appreciated.

Hi,

This isn’t something I’ve come across personally. Usual suggestions though would be to check the task manager and see what things are running at the same time as Unity, look for spikes in the performance, check services and so on.

To be fair, that sounds like a whole load of work trying to track down something which you already isn’t an issue in a later version. My suggestion would be to use a different version. You can run against the course lectures using 4.7.x, so you could try that, or, use Unity 5 / 2017 and just accept that there will be a few differences along the way. Those differences are;

  • Unity Web Player obsolete, replaced with WebGL (relevant if you want to share you game and enable people to play/test it)
  • Application.LoadLevel obsolete, replaced with SceneManager.LoadScene (relevant from Block Breaker onwards).
  • Changes in how the Particle System is accessed (relevant from Block Breaker onwards).

Just about all of the questions that could be asked regarding the differences have already been asked here, so there is lots of existing support, but you’d only have to post your question and you’d be pretty certain of a response :slight_smile:

Hope this helps.

1 Like

I think I’ll try using 4.7.x and see if that one works better, don’t think I want to deal with 5 and all of those changes, even though I will still have to learn them eventually. :stuck_out_tongue:

I get that the problem is probably specific to my computer, I was just hoping someone else had encountered this problem. Anyways, thanks for the response and for that info. :slight_smile:

1 Like

You are very welcome.

Just remember, you won’t be able to build using WebGL with the older versions, and with all of the popular browsers no longer supporting the underlying technology required to support the Unity Web Player, very fefew (if any) will be able to play your games if you share them.

The changes aren’t a lot of pain, but it is completely your choice. :slight_smile:

1 Like

Well I only plan to use it to follow along with the lessons. For playable games I’m using the later versions.

At the moment I’m using 5.6 to make my own text adventure, mostly for the practice. I’m slow when it comes to learning code, so doing it from memory over and over again helps me get a good feel for it.

Thanks for the reminder!

1 Like

No worries, and repetition is a good learning tool.

Be sure to share what you create, feedback can be invaluable and it’s always nice to see what people are making :slight_smile:

1 Like

How did this go @gameangel147, did it resolve the lag issues you were experiencing?

Actually I never installed it. I’m still using 4.6 for the course, but I’m using 5.6.3 for my own version of the game since I already had it installed.

Though I noticed that the lag is now gone in 4.6. I don’t know when it happened, as I’ve only been doing code in the editor, not actually moving things around, so I actually forgot about the lag, only focused on scripting.

I’m not sure what happened there, but it looks like it’s all good now. Thanks again for your help! :slight_smile:

1 Like

I see, well, that sounds like success to me! :smiley:

Glad the issue isn’t causing you a problem anymore.

1 Like

Privacy & Terms