GetComponentInChildren<UserInheritedClass>() crashes in some cases
complete
yoshio_will
In build 1608, the crash mentioned in the subject occurs.
Many worlds based on the Chikuwa Vehicle System 2 have been broken by the recent update. They were working fine in build 1607.
The crash happens in GetComponentShim.GetComponentInChildren, but I haven't been able to find a reliable reproduction process yet.
Sample worlds affected by the issue:
Oi Wharf V2 Remastered[90sGDSP]
UraRokkou
Futatsukane Lake Around Pass
Dodge Stadium
Drift Park S.L.
Log In
_
_tau_
complete
This post was marked as
available in future release
_
_tau_
We've identified this as a regression, it is related to requesting UdonBehaviours on objects with a VRCStation component. This is not supposed to happen, and we will fix it shortly. I recommend against the effort of updating worlds with specific workarounds at this time.
StormRel
tracked
yoshio_will
This issue seems to occur at the moment when the system tries to search for certain components attached to the vehicle.
However, since it doesn’t always happen—even in similar situations—it’s quite puzzling.
For example, on my test vehicle, the crash occurs when trying to find components such as the fuel tank, G-meter, HP, or during a full component search.
I also tried to reproduce the same situation in an environment without CVS2, but the issue did not occur. Still a mystery.
yoshio_will
P.S. The vehicle is initially hidden, and the exception occurs when it is made visible.
The issue does not seem to occur with vehicles that are visible from the beginning.