Previously, like a month ago, script parse took less than a couple of seconds. Now, every time I click parse or create a new script, I need to wait like tripple that time. Creating a new script is most frustrating. Every time is like:
Create a new entity
Add script component
Type a new script name, press enter
Oh my script file appeared
Nothing happens
Oh I see “script {name} parsing” message
Still parsing?
Casually switch to script asset to see is it really parsing
Yep, it’s parsed
Switch back to entity
Now I can add attributes to my script, and wait that parsing again and again
Previously this parsing took like fraction of a second. Script asset appeared after creation, and in a blink of an eye it was already parsed inside my entity.
Hey @OlegsGedzjuns, just looking into this but struggling to replicate from your steps. Here’s what I’m doing:
Create New Entity
Add a script component
Click “+ Create Script” in the component
Add a name ‘test’
Verify script is attached
Click the parse button
This seems to work for me, pretty quickly too, but I’m guessing it’s more intermittent for you. One thing I did find - sometimes editing code adding/removing attribute doesn’t seem to persist. So when you parse it’s stale data which requires a refresh. Wondering if that’s similar to what you’re seeing
Yep, I’m trying to pinpoint exactly what’s going on, but it seems to be inconsistent and hard to replicate. If anyone has some easily reproducible steps, or a video, it would really help. In the mean time I’ll continue to investigate.
Sometimes scripts just refuse to parse, I might have had scripts stuck parsing for an hour before, I dont really remember. Also sometimes when I add an attribute it refuses to show up until I reload the page.
Yeah this seems consistent with the behaviour I’m seeing. The updated script doesn’t save correctly, so when you parse it fails to pick up new attributes. I’ll keep looking into this today
@OlegsGedzjuns We’ve pushed a fix for editor disconnects which should have helped with some of these issues. Just curious if you’re seeing any other stability issues related to this. I know they’re often difficult to replicate, but I’m keen to iron out any other issues.