mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-05-12 21:45:06 -05:00
fix null check
This commit is contained in:
parent
70f62853e0
commit
8efcc3da09
|
|
@ -16,6 +16,7 @@ namespace VRM
|
|||
if (r.Renderer == null)
|
||||
{
|
||||
yield return Validation.Error($"[VRMFirstPerson]{self.name}.Renderers[{i}].Renderer is null");
|
||||
continue;
|
||||
}
|
||||
if (!hierarchy.Contains(r.Renderer.transform))
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user