Black screen on wrong display with Unity plugin 1.41
complete 🏁
M
Milan Pollé
I have two 3D monitors and the LGP connected to my computer.
--- Holoplay script target set to display 1:
Game view: Display 1 no image in editor, Display 2 does have an image.
Build shows black screen on regular main monitor. Holoquarium does the same thing.
Shows error in Unity editor on play: [Holoplay] can't match. the first cal's unity index is1
In Holoplay.cs:
if (targetDisplay != CalibrationManager.GetCalibration(i).unityIndex) -> targetDisplay is 0 while unityIndex is 1
--- Holoplay script target set to display 2:
Game view: Display 1 has image
Build has the same behaviour as with target set to display 1
No error in the Unity editor
Surprisingly the previous Holoplay version I was using, 1.21 (!) works fine with the Portrait
A
Alex Duncan
complete 🏁
This should at last be fixed in version 1.4.3 - thanks for your patience on this one! This version is now available on our software downloads page: https://lookingglassfactory.com/software
A
Alex Duncan
After a fair bit of investigation, we've identified that this is not, in fact, an issue with our Unity plugin but rather an issue with HoloPlay Service returning the wrong value for unityIndex. We'll be targeting a fix on that end rather than through Unity - if we change this on the Unity plugin, when we do fix it in HoPS, different Unity builds made with different versions of the plugin will behave differently, and we don't want that.
M
Milan Pollé
Alex Duncan: Great to hear you have found the cause of this. So if this gets fixed in Holoplay service this would mean previously built Unity applications will work correctly here as well, right?
A
Alex Duncan
Milan Pollé: That's correct! Just an update to HoloPlay Service running on your device will fix it.
M
Milan Pollé
Alex Duncan: I just updated to version HoloPlay Service 1.2.2 and it doesn't fix existing Unity builds, like the HoloQuarium, GoldMine and Chicken demos. Some open on the right display but after showing the Unity logo the display stays black. Unreal Engine builds run fine.
A
Alex Duncan
in progress 🏃♀️
A
Alex Duncan
under review ✔
OK thanks for letting me know Milan! Marking this as under review again and will follow-up this week.
M
Milan Pollé
Alex Duncan: Thank you! I hope you'll be able to find the cause of this.
A
Alex Duncan
closed
Version 1.4.2 is now live!
A
Alex Duncan
complete 🏁
This has been solved in version 1.4.2.
M
Milan Pollé
Alex Duncan: Not working here, unfortunately. No matter what target display is set in Unity, it shows a black screen on my main monitor. Tested with Unity 2019.4.26 as well (builds don't crash anymore).
Bryan Chris Brown
@milan-polle: Hey Milan, just to check, but do you have holoplay studio open at the same time as the unity plugin? It may be that the window created by HoloPlay Studio is above the window created by unity.
M
Milan Pollé
Bryan Chris Brown: Sorry, didn't notice this question before. That is not the case. I know that is a thing that can happen.
A
Alex Duncan
in progress 🏃♀️
M
Milan Pollé
The readme.txt of the Holoplay plugin says it is version 1.21, but the package name says 1.31.
A
Alex Duncan
Milan Pollé: The package name will be accurate - sometimes we forget to update the readme!
We're releasing a patch today for a couple other issues that have surfaced but we haven't been able to reproduce this. We'll review it some more - small chance the new patch fixes it but unlikely!
A
Alex Duncan
under review ✔
A
Alex Duncan
Hi Milan! Is this on Windows or Mac?
M
Milan Pollé
Alex Duncan: HI Alex, this is on Windows
Load More
→