You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When switching themes, I'm sometimes seeing "customColor" is not defined or "cannot read property of null (reading 'toArray'). This seems related to setting the customColor on the instanceBuffer. For color based materials, themeColor is set and used by the instanceBuffer. For standard materials, an image texture is used and themeColor is set to null. There seems to be an async disconnect where color materials have null for themeColor and texture materials do not have null for themeColor. Need to find a better way to determine if themeColor is needed by a material instead of forcing the value to null
The text was updated successfully, but these errors were encountered:
It took a couple of tried on the demo, but this is the error: TypeError: Cannot set properties of undefined (setting 'customColor') -> line 49 in Dice.js in the createInstance method.
When switching themes, I'm sometimes seeing "customColor" is not defined or "cannot read property of null (reading 'toArray'). This seems related to setting the customColor on the
instanceBuffer
. For color based materials, themeColor is set and used by the instanceBuffer. For standard materials, an image texture is used and themeColor is set to null. There seems to be an async disconnect where color materials havenull
for themeColor and texture materials do not havenull
for themeColor. Need to find a better way to determine if themeColor is needed by a material instead of forcing the value tonull
The text was updated successfully, but these errors were encountered: