I have a ts function
public ActivateSceneByNumber(sceneNum: number)
which I reference on an UnityEvent (screenshot). Ever since updating from 2.64 to anything above, this function does not get called. The browser console gives me an error:
Object { __context: undefined, __name: "NeedleActivateScene", gameObject: {…}, guid: "2112579021", sourceId: "assets/scene.glb?v=1678872779091", __didAwake: false, __didStart: false, __didEnable: false, __isEnabled: true, __destroyed: false, … }
undefined engine_serialization_builtin_serializer.ts:266:53```
changing it to lowercase ```activateSceneByNumber```, codegen gets triggered correcty and I can reattach it to the UnityEvent and it gets correctly called in the build. Making it Uppercase again, it does not work. Is there some kind of caching of function names going on which I can delete to stop this from happening?
[Original Post on Discord](https://discord.com/channels/717429793926283276/1085499807138844712)
*by user 334342083445784576*