I’ve been working on a mobile game last year on unity 2018. Then resumed the work couple of days ago migrating the project to unity 2019.
Problem is that when in play mode (both on pc and on real mobile device) the game is very laggy, so that it misses touch events. Moreover lights just don’t work.
I’ve tried recreating the lights, i’ve tried deleting and recreating the Library folder, but no result.
I had to go back to Unity 2018 where it works fine.
I’d recommend staying in the projects original unity version till you finish honestly. Otherwise it’s be hard to tell what’s making your unity editor run slow. One thing I’d ask is does it run slow in your build AND your editor or just in editor?
One thing I noticed recently is having a lot of mesh colliders can kill your editor performance another is your lighting if your light maps are set to high res try dumbing them down a bit. Do the same for shadows if you can
Thank you for your reply.
Actually the slowness appears only in the build.
Meanwhile the editor work flow is as expected.
As of colliders i use plenty of cubic ones.
Regarding lights, no matter what I do, they just don’t work.
Didn’t expect that from Unity.
Yeah box colliders should be fine. It would be hard to diagnose without seeing the project first hand and even then it could be difficult. In you build settings try setting the default graphics to something lower than ultra like maybe medium if you haven’t already. Other than that I would know how to properly help as I’m a bit of a newbie myself so good luck either way hope you figure it out soon