UnityGaussianSplatting icon indicating copy to clipboard operation
UnityGaussianSplatting copied to clipboard

[Bug] gaussianAsset throw Null Execption

Open cym63238998 opened this issue 2 years ago • 4 comments

Why does a 'NullException' get thrown directly when I drag an asset onto a game object with the "Gaussian Splat Render" script?

4C4D3D41-FCFD-4111-83E5-C7FCC2101DC6

cym63238998 avatar Jan 11 '24 06:01 cym63238998

I had the same problem.

DroShown avatar Jan 24 '24 11:01 DroShown

I could see that this could happen if your are on a GPU that does not support compute shaders (i.e. your GPU is more than 10 years old), or if Unity editor is set to a platform that does not support compute shaders (e.g. WebGL). What is the current editor platform? (indicated in the title bar)

aras-p avatar Jan 24 '24 12:01 aras-p

Thank you very much! In my case, the editor is 2022.3.2f1, which is unlikely to be a course of error. I finally solved the problem by simply unchecking&checking the game object because I noticed that the err was located in initialization of the code. Hope it works.

DroShown avatar Jan 31 '24 09:01 DroShown

I met the same problem, and my editor is 2022.3.17f1c1. The solution from DroShown is useful.

YuEBuZu114514 avatar Mar 19 '24 06:03 YuEBuZu114514

Might be improved by 17cf929cbf6c2, otherwise not quite sure how to reproduce, so closing it.

aras-p avatar Jan 13 '25 11:01 aras-p