Quantcast
Channel: Questions in topic: "performance"
Browsing all 173 articles
Browse latest View live

How to manage large 2D worlds?

Hello everyone. So I'm making a 2D Metroidvania game similar to Hollow Knight, Ori, etc. and my question is how to manage large seamless worlds as these games do? They don't seem to have any loading...

View Article



Should I put a rigidbody on colliders moved by script ?

Hi, I'm wondering if a rigidbody is required or not when moving a collider by script. This collider can collide with dynamic objects (these objects have a non-kinematic rigidbody), and no script...

View Article

Collision causing performance to drop

When I took out the coin += 1; (etc) the frame rate was normal. How can I make it so that I can optimize frame rate and performance on mobile? void OnTriggerEnter(Collider col) { if (col.gameObject.tag...

View Article

One side of the game is laggy

There is one side of the game that runs beautifully, but when I turn away from that side it suddenly becomes extremely laggy. What do I have to do to make it less laggy?

View Article

Tilemaps best practices

Hello everyone, I'm pretty new to Unity and I just finished some courses and tutorial found in the official documentation and I'm now in the process to apply what I learned so far using different...

View Article


Trying to create a '2D 8 Ball Pool' game - Trajectory Prediction

I am trying to create a game similar to (Pocket Run Pool) https://www.youtube.com/watch?v=ewlAE6NQnsI&t=215s a 2D pool game that is much simpler than a 3D one I need help with creating code for...

View Article

Why is alpha clipping in the Shader Graph way less performant than in a...

I have a test scene with a bunch of trees. If I use an HDRP/Lit shader with alpha clipping enabled for the leaves, it runs pretty decent. However, if I use a simple shader graph with alpha clipping,...

View Article

DrawMeshInstanced has bad perfomance on some Android devices

I tried 2 different method: 1. Spawn 5k same units with MeshRenderer and same material that support gpu instancing. 2. Draw 5k same units with the same material with DrawMeshInstanced. ----------...

View Article


Replacing terrain trees with prefabs

I need a really big forest with mesh colliders, but with terrain brush this collider disappear. So looks like I needs to use prefabs. I can't find information about performance. Will I lose some after...

View Article


Second camera in editor causes flicker/judder/lag in VR image.

I'm using SteamVR plugin. When I add a new 'game view' window and set it to anything other than 'Display 1', even if there is no camera rendering to it, I get a strange judder in the image on my...

View Article

Is waitforseconds in a coroutine related to sephamore.WaitForSignal?

I have been having major performance issues involving Sephamore.WaitForSignal. In the profiler it is taking up 22ms of cpu time. I have seen multiple threads with no solution. I have an idea, but need...

View Article

Troubleshooting sudden editor lag

Hi, I haven't been able to find any answer to this here or anywhere else (except for the things I've mentioned trying already below) so hopefully it hasn't been asked already. I know the most obvious...

View Article

Update to Unity 2021 Beta = huge performance hit

I was working on a project in unity 2019 when I noticed that my point lights were not casting shadows. After perusing the forums, I noticed that this was something that had been addressed in the 2021...

View Article


How to fix low FPS due to `afterCullingOutputReady.Invoke` phase when using...

I have a scene with a few hundreds of trees. When profiling rendering performance, I have found out that `afterCullingOutputReady.Invoke` method during the `Culling` phase takes majority of the frame...

View Article

How good is to use cloth physics in a multiplayer game?

In this game, the clothing from each player will have physics on them so i don't know how good this is in terms of performance, having my character with his cloth physics and the other players as well.

View Article


Ideal target FPS when running in batch mode?

Hi, I'm working on a networked game who's host I run in batch mode (headless). I can't find any details on how target FPS affects the game when running this way. Does it only change how often Update()...

View Article

Unreasonable CPU consumption for server build with -nographics

I have built my game in Server mode on Mac OS and attached profiler to it. In profiler I can see unreasonable high cpu load. ---------- 1. Other scripts take a lot of cpu time. How can this be...

View Article


Is Onmouseover() perfomance heavy?

I had this weird issue with onmouseover where it responds for some time and then after a while it doesnt. I tried using debug messages to see what was going on. When i hovered my mouse over an object...

View Article

List/Array should handle another List/Array - Upgrade System - Performance

Hi, I am making an Idle Game where you can buy upgrades. (Mobile) I have a List which stores the value if an Upgrade was bought. (bool) It is also saved in a savefile. The second List stores my...

View Article

Performance Question: Baked textures vs Procedural shaders

Performance Question: Baked textures vs Procedural shaders Hello, first time asking on here and hopefully this hasn't been asked before (sorry if it has). So basically what I would like to know is if...

View Article
Browsing all 173 articles
Browse latest View live




Latest Images