Events don't work when terrain is rebuilt/cooked (17.5.308)

   1867   5   0
User Avatar
Member
29 posts
Joined: Sept. 2017
Offline
Hi,

i attached “HEU_AssetEventReceiverTest” to rebuild, cooked and baked events but nothing gets printed out. Seems they don't get fired when a terrain is rebuilt/cooked or an scattered object is spawned?

Using:

  1. Unity 2019.1.8
  2. Houdini 17.5.308

Thanks,
daschatten
User Avatar
Member
571 posts
Joined: May 2017
Offline
It's working for me. It might be how you setup the callback in Unity. I attached a screenshot of how it should be done with that script.

Attachments:
heu_events.png (5.4 KB)

User Avatar
Member
29 posts
Joined: Sept. 2017
Offline
seelan
It's working for me. It might be how you setup the callback in Unity. I attached a screenshot of how it should be done with that script.
You're right… default was “Runtime Only”! Works now. I get the cooked event on “Rebuild Asset”, “Recook Asset” and “Reset Parameters”. In which case is the ReloadCallback fired?

Thanks,
daschatten
User Avatar
Member
571 posts
Joined: May 2017
Offline
ReloadCallback is for Rebuild Asset(Rebuild was original called Reload). I should update the callback name.
Edited by seelan - July 8, 2019 10:48:39
User Avatar
Member
29 posts
Joined: Sept. 2017
Offline
seelan
ReloadCallback is for Rebuild Asset(Rebuild was original called Reload). I should update the callback name.

Reload isn't fired in my test setup, only cooked.


Attachments:
Houdini - Events 01.png (32.4 KB)
Houdini - Events 02.png (30.8 KB)

User Avatar
Member
571 posts
Joined: May 2017
Offline
It is a bug. Tomorrow's daily build will have the fix.
  • Quick Links