NovaVoidHowl / CVRFury

Source Code for the CVRFury project
https://repo.cvrfury.uk/
Other
8 stars 0 forks source link

Upload apply not trigger not working #2

Closed NovaVoidHowl closed 7 months ago

NovaVoidHowl commented 7 months ago

looks like an multi async problem, as the module installer itself process is a coroutine need some way to hold the CCK task while the installer does its tasks

NovaVoidHowl commented 7 months ago

stripped out the custom coroutine stuff and its all pure public static async Task now but still it looks like I'm not getting any log stuff back from the InstallCVRFuryModulesAsync function, I have a suspicion that its coss the PreAvatarBundleEvent in CCK_BuildUtility is triggering inside an already async function public static async Task BuildAndUploadAvatar(GameObject avatarObject)

may need to make a non async version of InstallCVRFuryModulesAsync to get round this ... though I will loose the UIElements progress modal window if I do that as if I use non-async that has a habit of updating in a 'big bang' at the end and not smoothly throughout the function (UI is on the Main Thread and as a result ends up getting blocked on updates)

NovaVoidHowl commented 7 months ago

made non-async versions of the functions now for build hook, and it seems to have worked

source objects image

and in game image

note how the Cookie object is now disabled in game in ref to image

flagging this a fixed as of ca901caca75fe1d8ff3b417fa9b50b2c9c69aeaf