Hey everyone, I really love GitHub - aras-p/UnityGaussianSplatting: Toy Gaussian Splatting visualization in Unity for Unity, but I’m having trouble figuring out how to import UnityGaussianSplatting as a custom package for my own VR project instead of using the sample project from Aras. Does anyone have any suggestions? Thanks!
I use Unity 6 with the Universal Render Pipeline (URP). I want to import the GSfile into my VR project. I unzipped the UnityGaussianSplatting-main folder and only copied the entire PACKAGE folder into my project path under ASSETS/GAUSSIANSPLAT.
The creation of the GaussianSplatAsset works, but when I try to add the Data Asset, I encounter the following errors:
NullReferenceException: Object reference not set to an instance of an object
GaussianSplatting.Runtime.GaussianSplatRenderer.InitSortBuffers (System.Int32 count) (at Assets/UnityGaussianSplatting/Runtime/GaussianSplatRenderer.cs:428)
GaussianSplatting.Runtime.GaussianSplatRenderer.CreateResourcesForAsset () (at Assets/UnityGaussianSplatting/Runtime/GaussianSplatRenderer.cs:407)
GaussianSplatting.Runtime.GaussianSplatRenderer.Update () (at Assets/UnityGaussianSplatting/Runtime/GaussianSplatRenderer.cs:612)
I apologize for my questions, but I would be really appreciate if you can help me:
- Is there a way to import UnityGaussianSplatting as a Unity Package to use in my own project?
- Based on the error above, could it be due to missing files that I didn’t copy into the correct path?
Thank you!