I am using a LightGizmo and when it it attached to a node and then the light is set an error is thrown here:
Babylon.js/lightGizmo.ts at master · BabylonJS/Babylon.js (github.com)
Is it intentional that the LightGizmo shouldn’t be attached to nodes (allowed by base class, which clears attachedMesh property)?
The error is
Cannot read property 'reservedDataStore' of null. If the answer is that LightGizmo should not be attached to nodes that is OK. I can see how the light setter could accomodate either way the reservedDataStore is inherited from Node ( Node | Babylon.js Documentation (babylonjs.com)). Cheers.