Why sometimes my referenced Object is null? - Discord Import

`export class Alert extends Behaviour implements IPointerEventHandler {
@serializeable(Object3D)
myObject:GameObject | null = null;

@serializeable(Object3D) 
Capsula: GameObject |null = null;

onPointerClick(args) {
        console.log("my Capsula?",  this.Capsula);
        console.log("my Object",  this.myObject);
    }

}`

It is sometimes null, but sometimes the object is there… sometimes myObject is null sometimes Capsula is null. Are there any race conditions happening here?
unknown.png
unknown.png

Original Post on Discord

by user 367081956959322114