diff --git a/ProjectObsidian/ProtoFlux/Users/UserFromUserRef.cs b/ProjectObsidian/ProtoFlux/Users/UserFromUserRef.cs index 616b4f8..3e3c733 100644 --- a/ProjectObsidian/ProtoFlux/Users/UserFromUserRef.cs +++ b/ProjectObsidian/ProtoFlux/Users/UserFromUserRef.cs @@ -14,6 +14,10 @@ public class UserFromUserRef : ObjectFunctionNode protected override User Compute(FrooxEngineContext context) { + if (UserRef.Evaluate(context) == null) + { + return null; + } UserRef userRef = UserRef.Evaluate(context); return userRef.Target; }