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
I edited some content in editor and saved it, and some errors occurred when loading again. After some attempts, I found that when Directional Light exists, there will be an error related to light loading.
from: Menubar.File.js:126
Unhandled Promise Rejection: TypeError: this.light.target.updateWorldMatrix is not a function. (In 'this.light.target.updateWorldMatrix( true, false )', 'this.light.target.updateWorldMatrix' is undefined)
Reproduction steps
Create a Directional Light and add a cute little square
Save JSON files
Refresh the page and use the Open menu to reopen it
Code
This is the saved json for reference.
PS: In order not to make the issue very long, I didn't format it.
Description
PS: I'm not good at English.
I edited some content in editor and saved it, and some errors occurred when loading again. After some attempts, I found that when Directional Light exists, there will be an error related to light loading.
Reproduction steps
Code
This is the saved json for reference.
PS: In order not to make the issue very long, I didn't format it.
Live example
Only need to test it in the officially provided Editor.
Screenshots
No response
Version
r166
Device
Desktop
Browser
Chrome
OS
MacOS
The text was updated successfully, but these errors were encountered: