Jump to content

[SOLVED] "show" callback defined in .UI file not being called


photo

Recommended Posts

Posted

Please see attached test world/ui/cpp.

 

MenuBox has "ShowCallback" function tied to "show" event, but the function is not called during execution when the menubox is shown.

Callback works as expected when defined in UnigineScript (un-comment line 12 of test.cpp), but not when defined in UI file.

test.cpp

test.ui

test.world

  • 4 weeks later...
  • 1 month later...
Posted

Hello. Problem is still reproducible using 2015-06-25 SDK. Was this indeed fixed?

Posted

Hi Adam,

 

Sorry, but we can't reproduce this behavior (at least with attached test scene from the first post). Could you please check if you run correct engine version (latest RC)?

 

Thanks!

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

Posted

I am using sim_src_win_2.0-RC that I re-downloaded today using SDK browser. No change in behavior with the scene attached above -- SHOW callback is still not being called when defined in UI file. Callback is fired correctly if defined in UnigineScript.

 

Can you show me diff of C++ source fix for this bug?

Posted

Fixed! The problem was outdated .ung packages. I am now including compilation of these .ung packages as part of our build process to ensure they are updated when the engine is updated.

×
×
  • Create New...