NeedleTools engine package dependency in production

We use Gitlab to install and deploy our projects. However the @needle-tools/engine (and three) modules are custom links to a package in a development space (Unity installed, etc).
Are we supposed to commit/push the whole Library/PackageCache/com.needle.engin@xxx in order to build without Unity installed ?

Original Post on Discord

by user 615280976855171083

You should be able to use the versions from npm too. That’s what I would suggest.

If that makes any problems please let us know

For example that’s how our blender addon works and it should probably be changed in the Unity world too

So we should replace the file:// dependencies with the real packages ?

by user 615280976855171083

It’s what I would suggest you try in this case yes.

Alright ! I’ll let you know if that works (or not). :wink:

by user 615280976855171083

Yes please! Thank you :slightly_smiling_face:

We’ve replaced the deps with the packages you’ve listed above, unfortunately after install, this file is missing :

by user 615280976855171083

Oh youre right, that shouldnt happen. I’ll check

(I must go, I’ll be back after the weekend !)

by user 615280976855171083

Alright, thanks for letting us know about that

Have a nice weekend :slightly_smiling_face:

Should work in 2.63.3-pre

Hi @totjoss just to let you know that we’re working hard on improving this workflow for your usecase and we want to update the package that Unity currently installs (it is not bundled) in one of the next releases to be fully aligned in terms of structure and content with the npm package

Alright ! That’s great to hear ! :sparkles: Thanks for the info.

by user 615280976855171083

2.65 contains that change

@marcel :cactus: I’ve just updated Needle Tools from 2.61 to 2.65, and… now nothing works anymore. :sweat_smile: I have a black screen and the scene is broken, no errors (even with ?console, and the errors I get are from my own scripts that can work properly).
Do you have to do something in particular after updating ?

by user 615280976855171083

What errors do your own scripts have? The browser console (F12) shows nothing?

The main change is @needle-tools/engine/engine/engine_three_utils is now @needle-tools/engine/src/engine/engine_three_utils