Hi,
I am using TPC 2.1.1 and Unity 2018.3.6f1
I updated to version 2.1.1 this morning and I have some issues.
I have my own InventoryBase extension, therefore I don't use the Inventory script. My problem is that my custom inventory Awake method is called after the AnimatorMonitor Awake method.
I have never used the script execution order setting, so I thought maybe I could have fixed the problem by replacing Inventory by InventoryBase.
I tried this
It didn't work. I assume it is because of the script execution order doesn't take into account base/inherited classes.
So I tried adding my custom inventory in the script execturion order setting:
Doing so fixed some issues but not all. For some reason the m_AnimatorAudioStateSelector variable in the AnimatiorAudioStateSet script is null, but I'll have to dig in more to understand why.
I am not sure how you would fix the script execution order for anyone that has their own inventoryBase extension. Maybe the only way would be to have a "How to extend the inventory" section in the documentation that specifies the steps you need to take.
I am using TPC 2.1.1 and Unity 2018.3.6f1
I updated to version 2.1.1 this morning and I have some issues.
I have my own InventoryBase extension, therefore I don't use the Inventory script. My problem is that my custom inventory Awake method is called after the AnimatorMonitor Awake method.
I have never used the script execution order setting, so I thought maybe I could have fixed the problem by replacing Inventory by InventoryBase.
I tried this
It didn't work. I assume it is because of the script execution order doesn't take into account base/inherited classes.
So I tried adding my custom inventory in the script execturion order setting:
Doing so fixed some issues but not all. For some reason the m_AnimatorAudioStateSelector variable in the AnimatiorAudioStateSet script is null, but I'll have to dig in more to understand why.
I am not sure how you would fix the script execution order for anyone that has their own inventoryBase extension. Maybe the only way would be to have a "How to extend the inventory" section in the documentation that specifies the steps you need to take.