Closed Hunterk1241 closed 3 months ago
It seems to have gotten worse where it seems that LightSync is completely impossible to make a test build with, even after unpacking prefabs.
Looking at the code, it seems that this part is the issue
It seems that _allowedBones
is conflicting with allowedBones
.
Seems that quoting that section I mentioned completely fixed the problem for now as it gets fixed. it does create quite a few errors in the editor but works in-game
Update: To further fix it; I quoted out the #else
section entirely and there is not a single error from testing and everything seems to work as intended.
I hope this was useful for a patch to my issue!
It also seems that under LightSyncEnhancementWithData
has something that does not exist on Android and causes errors, making Android compiling impossible.
Commenting it out fixed the issue with no errors and allowed me to upload my world to VRChat.
Interesting that the compiler flags seem to be different on Android. I wonder why. Also I'm surprised this didn't break anything else because I use those kinds of if statements everywhere. one of the design philosophies of LightSync is to over-engineer the editor scripts so that only the minimum is happening at runtime. I'll see if I can keep that else section commented out.
Fixed by https://github.com/MMMaellon/LightSync/commit/75a1267c43c6d8b2455344be9dc3aa3fddd2189e It means we get more warnings in the console, but it's better than completely breaking
I used this alongside a few prefabs for my world and it causes errors of invalid objects. It is perfectly fine when unpacking the prefab with no issues. I tried to set it up inside and outside of the prefab individually and neither worked properly. I hope that this does get resolved!