Remote allow exit to home

Hi, when I display the allowExitToHome, his default value is false. But when I’m trying to change the value to true, the value keeps false.
Note: I didn’t connect my remote, the result is only into Unity game mode.

Here my code :

#if UNITY_TVOS

Console.Log(“[QuitAlert] IS TV OS - UnityEngine.Apple.TV.Remote.allowExitToHome : " + UnityEngine.Apple.TV.Remote.allowExitToHome); // DISPLAY FALSE
UnityEngine.Apple.TV.Remote.allowExitToHome = true;
UnityEngine.Apple.TV.Remote.reportAbsoluteDpadValues = true;
Console.Log(”[QuitAlert] IS TV OS - UnityEngine.Apple.TV.Remote.allowExitToHome : " + UnityEngine.Apple.TV.Remote.allowExitToHome); // STILL DISPLAY FALSE
#endif

How is it possible?
Thank you.

I seem to recall that UNITY_TVOS isn’t defined in engine properly, try either defining it yourself under the Build Settings or using UNITY_IOS

Are you by any chance checking this in the editor? I believe on device this should be fine. At least it works in my tests for Easy Input Helper for the Apple TV.