Forum

error & freeze if entrypoint is repeated before finshing

19 July 2018 17:35
we use entrypoints to trigger timeline animations inside b4w.

unfortunately, when an entrypoint is called again before the timeline Animation is finished, it results in an error and freezes the application.

the error in edge is:
b4w.js (73395,25): Unable to get property 'slot_idx_order' of undefined or null reference
Firefox:
TypeError: nla_nd is undefined[Weitere Informationen] b4w.js:73395:25
play_timeline_handler
http://localhost:6687/dist/b4w.js:73395:25
process_logic_thread
http://localhost:6687/dist/b4w.js:75118:13
process_logic
http://localhost:6687/dist/b4w.js:73129:9
Int_logic_nodes/exports.update
http://localhost:6687/dist/b4w.js:73059:9
frame
http://localhost:6687/dist/b4w.js:75754:5
loop
http://localhost:6687/dist/b4w.js:75734:9


blend4web_ce_17_12_0
19 July 2018 19:25
This is caused by a bug in the version you are using (v17.12) - see B4W manual release notes:


You can either update to v18.05 or set a flag variable that prevents further calls until the animation has finished, for example with m_anim.is_play().
 
Please register or log in to leave a reply.