Problem with renderLine in editor api

Hello, i have a extension that i create using editor api and violent monkey extension to load it.

Until last week everything was working fine, today i opened and the console is giving me

TypeError: window.pc.app.renderLine is not a function

i checked window.pc.app and it is there, the function renderLine not,
except this funcition, my script seems to work fine, has something changed in the editor API?

i made it work with window.pc.app.drawLine
but i’m having problems with other methodt, now i’m having problem with a method in scene

scene.removeModel

is there a place where i can check those changes ?

Those functions were deprecated 2-3 years ago (warnings would have been in the console devtools) but were still supported in engine v1 Blaming engine/src/deprecated/deprecated.js at main_v1 · playcanvas/engine · GitHub

Now that the editor is using engine V2, these deprecated functions have been removed

Subscribing to releases and checking releases notes will keep you up to date on changes Releases · playcanvas/engine · GitHub

1 Like

got it. thank you