Page 1 of 1

Reference manager not refreshing references on play

Posted: Mon Sep 09, 2019 11:57 pm
by FredTuna
Hi,

on the ES3ReferenceMgr component, it says that the references will be updated on Play. However, I still need to manually refresh reference by clicking the button when adding objects in my scene otherwise those objects will be duplicated when saving and loading. When looking in the code, I see that

Code: Select all

RefreshDependencies()
is called when clicking the Refresh References button but not on Play. Is there a reason why that is? It would be nice if dependencies were updated automatically.

Thanks!

Fred

Re: Reference manager not refreshing references on play

Posted: Tue Sep 10, 2019 5:51 pm
by Joel
Hi Fred,

It's no longer called on Play due to a bug at Unity's end which ends turning all UI text in your scene black when getting the scene's dependencies on play (something I still don't think they've fixed at their end).

It seems like I didn't update the supporting text when the changes were made, so I'll make sure this is changed in the next update.

All the best,
Joel