[SOLVED] Confusing Error

Hi I’m Adding An Online Mode To My Game And Got This Strange Error

[playcanvas.dbg.js?version=1.52.6:72988]: Uncaught TypeError: Cannot read properties of undefined (reading ‘_enabled’)”

I’m Not Sure What Causes It. All I Know Is It Makes The Net Code Crash.

Is there more stack trace than just that? If you post that we might be able to see whats wrong easier

Hey @MitchMeyer1 That’s the only error given I’ll send a screen shot…

Never Mind I’ve Figured It Out
For Those Wondering It Was An Error On My End I Forgot To Remove Some Code That Makes It Get Destroyed So I Ended Up Trying To Change The Enabled And Destroy The Entity At The Same Time

2 Likes