Closed Zoranner closed 4 years ago
I just tried your NativeScriptTypes.json in a fresh clone of the repo with Unity 2019.2.9f1 and bindings were generated for me. Just as a reminder, the files to look for changes in are:
For example, in Bindings.cpp I see line 58 added after generating with your NativeScriptTypes.json:
int32_t (*UnityEngineResourcesMethodLoadUnityEngineTextureSystemString)(int32_t pathHandle);
I just tried your NativeScriptTypes.json in a fresh clone of the repo with Unity 2019.2.9f1 and bindings were generated for me. Just as a reminder, the files to look for changes in are:
- Unity/Assets/CppSource/NativeScript/Bindings.cpp
- Unity/Assets/CppSource/NativeScript/Bindings.h
- Unity/Assets/NativeScript/Bindings.cs
For example, in Bindings.cpp I see line 58 added after generating with your NativeScriptTypes.json:
int32_t (*UnityEngineResourcesMethodLoadUnityEngineTextureSystemString)(int32_t pathHandle);
ok, thank u, i will try it with 2019.2.9...
Debug content: Done generating bindings in 0.0908891 seconds. But nothing was generated.
My NativeScriptTypes.json content: