Suggestion - Add the Samples repo as an importable package

Would it be possible to add the Samples repo as an importable package from Package Manager for Needle Engine package? Instead of getting it from GitHub, can we have the samples importable, similar to how the Needle Engine Exporter has a option to import “Samples” (but this only contains a list of links for samples?)

Original Post on Discord

by user 442576529566990346

I think you ask that at the exact right time :smile:

Try opening the Welcome Window and click the Explore Samples button.

You should be able to import the samples from there as a package (we made a very first package release this morning - didnt get to test all cases yet tho)

Thanks for the lightning fast response! I just got the latest installer and started a new project, now the new buttons show up!

by user 442576529566990346

Before

by user 442576529566990346

After :heart:

by user 442576529566990346

Nice

I tried importing the Spatial Triggers example through the corresponding “Install Samples” button, but facing some errors. The sample viewer window becomes “Failed to load” and I get a bunch of errors in the console. Am I doing something wrong? I am using Unity 2020.3.34f1 with the URP starter template project


by user 442576529566990346

I think we’ve seen the Samples window go bad right after installing the samples package (still investigating)
Which version of Unity/Render Pipeline are you on?

I am using Unity 2020.3.34f1 with the URP starter template project, the template shows an “Upgrade” option when I select it in Unity Hub. Should I try it after upgrading?

by user 442576529566990346

Should be fine actually!
Does the scene itself work, or is something broken? May just be sporadic import messages

The “Assertion failed on expression” ones are “Unity being weird with asset importers with things that don’t have names”, the prefab issue is a bit more concerning

My Universal RP package version is 10.9.0

by user 442576529566990346

The Spatial Trigger sample opens fine, but the Screensharing sample (which seems to have the Prefab error) has some errors on opening

by user 442576529566990346

I started the local server, the curved screen is indeed missing in the final output

by user 442576529566990346

Some more context, hope this helps

by user 442576529566990346