tvOS performance issue

While I was testing my first tvOS game I noticed after 2-5 mins of playing the game it started to run slowly.
I opened profile and discovered that my games consumed around 300MB of RAM and using all processor power.
I haven’t found any issues in my game that can cause such unbelievable performance drop.

So I simply created a new EMPTY project and made a build with an empty scene. Here is what profiler shows after 10 min displaying empty scene with no custom scripts at all:

As I sad, this is an empty project with no custom scripts and empty default scene. What am I doing wrong? Does anybody have the same issue?

I am using:
Unity: 5.3.5f1
Xcode: 7.3.1 (7D1014)
OS: El Capitan 10.11.4
tvOS: 9.2.1

Would appreciate any help! Thanks in advance.

1 Like

Image seems broken…

Thx :slight_smile: I’ve reuploaded image. But just in case, here is direct url:
https://dl.dropboxusercontent.com/u/83133800/Unity-iPhone_xcodeproj_and_ISN_InApp_mm.png

Generally, image is telling empty Unity scene after 10min of work is consuming 375MB Ram and uses full CPU power, which is redicilous.

Have you had any similar issues?

Anybody? I don’t believe nobody had that issues before…

Not many people developing for the TV and I think still some issues with it.
Best maybe submit bug report to Unity to confirm.
Performance is always going to be major problem until some hardcore tests done.

You and I must be the only two people making tvOS ports, because the same exact thing happens to me. After a few min of play (or even just leaving the game idle), it absolutely gets destroyed and runs at ~10fps.

Using Unity 5.3.4p5, tvOS 9.2.1

Then this sounds like a Unity bug guys, best maks a bug report…

I am not alone! This is something already!

That what I already did.
But you know how it works. You just sending it, getting the automatic message that your bug report is accepted. And that’s it no feedback at all. Even if you will contact support, they will point you to the forum, answers, and offer to submit the bug report.

By posting this thread I was hoping that I am doing something wrong and somebody will point me. Or guys from Unity will notice the thread and probably give us any heads up.

By the way, as far as I know crossy road is made with Unity for Apple TV (I downloaded it my tvOS devise and it works just fine)

Perhaps this is a recent regression then. Can you post your bug report # here, btw?

Also, I don’t have access to my computer today - but do you mind trying to force OpenGL instead of Metal and see if that makes any difference? Just to check all the boxes.

Thanks.

Hi,
I’m too experiencing the same issue with Unity 5.3.4p6 and tvOS 9.2.1. Glad to hear I am not alone!

Does it only happen when running from xcode?

I seem to have some succes when running the game without xcode and killing it on tv os from the manager ( double click home ) and then starting it fresh.

Xcode Version 7.3.1
Unity Patch 5.3.5p1

You know, I think it does indeed have to do with Xcode. I tried a quick test without it and it ran fine. Need to do further testing, but a good sign so far.

Thanks for the tip.