ceramic-engine / ceramic

Cross-platform 2D framework written in Haxe that can export natively to desktop (windows, mac, linux), mobile (ios, android), web (js + webgl) and to unity projects
MIT License
264 stars 22 forks source link

[plugins] Ceramic not detecting Unity #62

Closed polybiusproxy closed 3 years ago

polybiusproxy commented 3 years ago

Unity is not being detected by Ceramic

Hi there, image

So this error appeared, when I already have Unity installed through Unity Hub, and as the wiki says, its 2020.LTS.

Location where Unity gets installed (default for me):

image

Screenshot of Unity:

image

I can't build, and I don't know what is the problem...

jeremyfa commented 3 years ago

Ceramic is looking at default install path of Unity Hub, which is: C:/Program Files/Unity/Hub/Editor/).

It seems your path is different and that's probably why ceramic doesn't find it.

You can however specify in your ceramic project an explicit Unity path in that case (edit your project's ceramic.yml):

app:

    unity:
        path: 'C:/Path/to/your/unity/editor'
polybiusproxy commented 3 years ago

Ceramic is looking at default install path of Unity Hub, which is: C:/Program Files/Unity/Hub/Editor/).

It seems your path is different and that's probably why ceramic doesn't find it.

You can however specify in your ceramic project an explicit Unity path in that case (edit your project's ceramic.yml):

app:

    unity:
        path: 'C:/Path/to/your/unity/editor'

thanks, it worked!