After upgrading to version 1.43, I noticed I don't hear any sound for Sound objects that are instantiated at runtime. I noticed StateHandler now controls Sound objects and it gathers them in the GatherObjects() method. Problem is, at the time GatherObjects() runs, my Sound objects have not been instantiated yet so they are not being gathered and thus, later on, they are not being controlled once they have been instantiated. I tried directly calling GatherObjects() again after I finish instantiating my prefabs but, although it does work, I doesn't seems to be the right way to do things.
Thanks.
Comments