Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PhysBone test in Game view is broken in Av3Emulator 3.4.5 #183

Open
Narazaka opened this issue Aug 12, 2024 · 6 comments
Open

PhysBone test in Game view is broken in Av3Emulator 3.4.5 #183

Narazaka opened this issue Aug 12, 2024 · 6 comments

Comments

@Narazaka
Copy link

The location is misaligned with where I touched when grabbing the PhysBone.
If I revert to 3.4.4, this problem does not occur.

@jellejurre
Copy link
Collaborator

I can't seem to reproduce this. Does this happen in a clean project with just the emulator?

@Narazaka
Copy link
Author

With Av3Emulator 3.4.5, the problem seems to occur when there is a Camera in the avatar that is inactive by default and becomes active by animation during scene playback. 3.4.4 does not seem to cause this problem.

@lyuma
Copy link
Owner

lyuma commented Dec 16, 2024

This may be a case of Unity's non-deterministic initialization order. Basically, it might be random but random in a sort of way that depends on what versions of stuff you have installed or when you last started Unity.

Can you make sure that none of the other camera components are tagged MainCamera?

@Narazaka
Copy link
Author

Yes, I have only one MainCamera in the scene.
This problem still occurs in 3.4.7 and does not occur when switching to 3.4.4.

@Narazaka
Copy link
Author

I made minimal reproducible example
https://github.com/Narazaka/av3emu-problem-example

@GapVR
Copy link

GapVR commented Feb 13, 2025

This may be a case of Unity's non-deterministic initialization order. Basically, it might be random but random in a sort of way that depends on what versions of stuff you have installed or when you last started Unity.

Just tested on 3.4.7 and this behavior exists when you have other active cameras (even without the MainCamera tag).
Setting the other cameras to inactive while still in play mode lets you properly grab PhysBones.
(Conversely, setting the camera to active breaks PB grabbing again.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants