microsoft / MixedRealityDesignLabs_Unity

Mixed Reality Design Labs share experimental samples, explorations and learning from Windows Mixed Reality Design group. If you are looking for official toolkit, please use Mixed Reality Toolkit
MIT License
408 stars 110 forks source link

Poor performance? #76

Closed MartinVoehringer closed 6 years ago

MartinVoehringer commented 6 years ago

First off, apologies if this is not the right place to ask such a question. I really like the samples and i realize that this repo is called "Labs" for a reason, but I'm starting to wonder if I am doing something wrong when deploying the provided examples. In near all of them I get 30 fps max.

Examples are:

Things I've made sure:

When evaluating, I noticed such a drop even with only one button in the scene and nothing else. No light components at all. Is this normal or am I missing something (I noticed in other projects that the performance is quick to drop to 30 fps but rarely goes below that, that's why I got suspicious). Thanks in advance for any insight.

cre8ivepark commented 6 years ago

@Railboy Any insights on this?

Railboy commented 6 years ago

That's definitely not normal. One button shouldn't affect performance. If I had to guess I'd say it sounds like something is spamming the log with messages / warnings / errors. You might try dropping our Debug prefab into your project to see if that's the case. It can be found in Assets/MRDesignLab/HUX/Prefabs/Debug