Jump to content

Changing global properties param freeze Editor2 (crash)


photo

Recommended Posts

Hi,

I observed that in some cases changing a param for properties inherited from node_base crash Editor2.

This happens if you have multi-level inherited properties like this:

image.png.dfadf968bdfe069aebb946b72d573ba7.png

 

To crash editor I do following:

1. Edit global param value in Properties panel (not instance at Node level),

2. Save world,

3. Reload world by world_reload cause freeze of Editor2 (crash it).

 

But it will works if you first reload world:

1. Reload world by world_reload,

2. Edit global param value in Properties panel (not instance at Node level),

3. Save world,

4. Reload world by world_reload - this time Editor2 will be not freezed.

 

Edited by Klimczak.Jan
Link to comment

Hello, thank you for feedback.

I've tried some cases with changing parent and child properties. None of them caused editor to crash after world_reload.

Could you please provide some additinal info on the issue? Maybe I'm missing something.

  • Are you using the latest SDK v2.6.1.1?
  • Is inherited property assigned to any node?
  • Do you use default properties that created right after inherit command? Or you manually edit xml?
  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
13 hours ago, morbid said:

Hello, thank you for feedback.

I've tried some cases with changing parent and child properties. None of them caused editor to crash after world_reload.

Could you please provide some additinal info on the issue? Maybe I'm missing something.

  • Are you using the latest SDK v2.6.1.1?
  • Is inherited property assigned to any node?
  • Do you use default properties that created right after inherit command? Or you manually edit xml?

Hello,

I am using latest SDK v.2.6.1.1 but my project is migrated from 2.6 or even 2.5 so this may be the cause. This property don't have to be assigned to anybody. I manually edit XML file.

I send you a PM with attached world with properties. As I see there is an freeze also for not inherited properties. You can try with:

1. Open Editor,
2. Open world: properties_test
3. In Properties panel change value of node_5 property (for e.g. val property)
4. Ctrl+S
5. Type world_reload command in console 

This freeze Editor in my case. From time to time it's not freeze it.

Link to comment

Hi, I'm sorry for delay. Thanks a lot for test scene!

We've reproduced this issue with your content and posted in our internal bugtracker. Unfortunately, I can't offer any workaround for this.

May I ask why you're reloading world after updating properties?

  • Like 1

How to submit a good bug report
---
FTP server for test scenes and user uploads:

Link to comment
2 hours ago, morbid said:

Hi, I'm sorry for delay. Thanks a lot for test scene!

We've reproduced this issue with your content and posted in our internal bugtracker. Unfortunately, I can't offer any workaround for this.

May I ask why you're reloading world after updating properties?

Hi, That's good that you figure it out. I know that I do not need to reload world after updating properties and I do not do that. But I am prototyping scene so I need to reload world to see changes of my scripts in the world based on my properties, where I am experimenting with many different settings of properties and working with scripts.

Link to comment
×
×
  • Create New...