naelstrof / UnityJigglePhysics

A unity addon for adding stretchy bouncy physics to bones and meshes.
MIT License
276 stars 32 forks source link

Namespace error on Package Manager Import #27

Closed HokoraYinphineMPP closed 8 months ago

HokoraYinphineMPP commented 8 months ago

like in Issue 25 I am getting namespace errors on import through UPM. 267HBkVKWc

Running Unity 22.3.9f1 with JigglePhysics 7.0.2

naelstrof commented 8 months ago

Hmmm. I'm not sure how that's possible. 84b7dc is the correct hash-- I copied your setup and it works on my system (though I used 2022.3.10f1).

What happens if you install https://github.com/naelstrof/UnityJigglePhysics.git#v7.0.2 rather than the upm branch?

naelstrof commented 8 months ago

I realize you're importing through UPM, I haven't actually tested that installation in a long time. I usually just put the git URL I need within the unity package manager. Let me know if that has a different result, I haven't changed how I publish upm content, but their package manager could have a bug!

HokoraYinphineMPP commented 8 months ago

What happens if you install https://github.com/naelstrof/UnityJigglePhysics.git#v7.0.2 rather than the upm branch?

same issue HokoraCry

https://github.com/naelstrof/UnityJigglePhysics/assets/54823358/6dd16d05-e2d5-4306-8a33-802ed22653e8

HokoraYinphineMPP commented 8 months ago

I usually just put the git URL I need within the unity package manager. I'm sorry im not sure any other way of importing through UPM... HokoraSmileSweat Is that not how you normally do it?

naelstrof commented 8 months ago

You installed it correctly. I still have no idea why you're getting those errors. It's saying JiggleRigBuilder is missing. It's right there. It's in the same folder under the same namespace. My only thought is maybe they're getting compiled into separate dlls? Though the assembly definition is also just right there.

It doesn't help that it works fine on my system.

Can you verify that in your Packages/Jiggle Physics/Scripts that the two files belong to the same dll?

https://github.com/naelstrof/UnityJigglePhysics/assets/1131571/d8745684-78db-4658-8b99-e53cea84954d

naelstrof commented 8 months ago

OH. YOURE. YOU'RE NOT USING IT FOR GAME DEV

naelstrof commented 8 months ago

You don't need to install jiggle physics directly, you already have it installed with the model sdk!!!

naelstrof commented 8 months ago

The jiggle physics is embedded directly into the sdk, as that's how it gets pack-ratted into Lethal Company without introducing extra dependencies. The original jiggle physics is not compatible with the packratted version. Just uninstall it! (You'll still have jiggle rig builders available!)

HokoraYinphineMPP commented 8 months ago

OML it worked im crying tysm <3 HokoraHappy