Help optimizing my project?
Some friends and I have been working on a simple Unity project. We're all total newbies (downloaded Unity 1.5 weeks ago and no other game dev experience).
Right now we have a room that is ~ 18' x 40' that has about ~40 (mostly boxy) models in it. Each of these models has a low res video texture and sound file associated with it (isolated sound from video as it was the only way we could get them to act as 3d audio sources). Each of these models also has a light associated with it.
Shadows are off.
Three models have on-use triggers that play sound.
The models are fbx that were converted from .skp (a mix of Google 3D Warehouse and custom models).
This project is running on a Haswell 4770k, 32GB RAM and a top of the line Nvidia card ( I forget the model but it is new and ~$600).
Our problem is that we're only able to run at 7 - 40 fps. Much of the time the scene hovers around 15-25 fps. This occurs in editor as well as when running the build and appears to be a CPU load issue as reducing the resolution to 800x600 doesn't have much impact.
When standing in the far corner, looking into the room, we get ~25k CPU calls; another corner gets us 12k CPU calls. Performance is very low from both of these locations.
We're in the process of undoing some newbie error, I'm certain. We'll spend the day googling and tweaking but I was hoping that folks here might have an idea or two that could speed us along.
Anyone have a hunch?
Right now we have a room that is ~ 18' x 40' that has about ~40 (mostly boxy) models in it. Each of these models has a low res video texture and sound file associated with it (isolated sound from video as it was the only way we could get them to act as 3d audio sources). Each of these models also has a light associated with it.
Shadows are off.
Three models have on-use triggers that play sound.
The models are fbx that were converted from .skp (a mix of Google 3D Warehouse and custom models).
This project is running on a Haswell 4770k, 32GB RAM and a top of the line Nvidia card ( I forget the model but it is new and ~$600).
Our problem is that we're only able to run at 7 - 40 fps. Much of the time the scene hovers around 15-25 fps. This occurs in editor as well as when running the build and appears to be a CPU load issue as reducing the resolution to 800x600 doesn't have much impact.
When standing in the far corner, looking into the room, we get ~25k CPU calls; another corner gets us 12k CPU calls. Performance is very low from both of these locations.
We're in the process of undoing some newbie error, I'm certain. We'll spend the day googling and tweaking but I was hoping that folks here might have an idea or two that could speed us along.
Anyone have a hunch?
