Page 1 of 1

Unity and MacOS.

Posted: 13 Jan 2020, 15:58
by toaster
Hi,

I'm trying out the samples evaluating if NoesisGUI fits my needs for the game I am creating. However if I am using metal on MacOS the entire game window becomes black with any of the samples I've tried. There aren't any errors in the console either which seems odd to me. Switching to openGL works fine, but apple has sadly insisted on not supporting openGL in the future.

I've also tried turning on debug rendering(wire-frame) and I still don't see anything other than a black game window. Here is a screenshot of what I see:
Image

Perhaps the version of unity(2019.2.17f1) is to blame?

Thanks,
-Toaster

Re: Unity and MacOS.

Posted: 13 Jan 2020, 16:01
by jsantos
Is this happening with the latest (2.2.6) version of Noesis?

Re: Unity and MacOS.

Posted: 13 Jan 2020, 16:05
by toaster
Yes, I downloaded the latest version from the downloads section here on the site which is 2.2.6.

Re: Unity and MacOS.

Posted: 13 Jan 2020, 16:09
by jsantos
That combination of Noesis and Unity is expected to work with Metal in MacOS. Something wrong is happening. I assume rest of Unity things are working fine for you in Metal right?

Re: Unity and MacOS.

Posted: 13 Jan 2020, 16:12
by toaster
Yeah, if I remove the NoesisView from the camera everything renders fine. It's odd that it doesn't output any errors. Perhaps it has to do with the version of MacOS I'm on? I'm running MacOS Mojave 10.14.6. Perhaps I need to be on Catalina?

Re: Unity and MacOS.

Posted: 13 Jan 2020, 16:14
by jsantos
Catalina is not strictly needed. If Unity is rendering fine with Metal Noesis should be doing the same. Could you please report this?

Re: Unity and MacOS.

Posted: 13 Jan 2020, 16:33
by toaster
I was playing around with it some more and if I change the "Background Type" property of the unity camera to "skybox" it appears as though it renders everything fine. However when the background type is set to solid color it only renders that solid color(black). I can see that the GUI isn't rendering because the unity stats system says there are no triangles or vertices on the screen. I submitted a bug here: #1618