Please tell us the version of the ZEPETO World package. (You can check the version in Unity > Window > Package Manager.)
1.4.1
Please tell us which version of the ZEPETO app is currently installed. (You can check the version in ZEPETO App > MY > Settings > Version.)
3.13.6
What features were you trying to implement?
Try AddComponent
What problem did you encounter?
If the AddComponent function is used, it gives null because the corresponding type does not exist...
No matter how you look at it, it seems to work strangely.
There is no way to add a component.
Please tell us your development environment.
Window 10
Please attach the implemented code. If you have a screenshot, please attach it.
The error message below appears.
swizzling error,Error: c# exception:Object reference not set to an instance of an object,stack: at ZEPETO.Script.ZepetoScriptInstance.InitializeInstance (System.String module, ZEPETO.Script.ZepetoScriptContext context) [0x00017] in <5cda7f8e134b495f91d672a8b0db139c>:0
at ZEPETO.Script.ZepetoScriptBehaviourComponent.InitializeWithModule (System.String moduleName) [0x00006] in <5cda7f8e134b495f91d672a8b0db139c>:0
at ZEPETO.Script.Extensions.GetComponentsExtension.AddScriptComponent (System.String name, System.Object obj, ZEPETO.Script.ZepetoScriptContext context) [0x00012] in <5cda7f8e134b495f91d672a8b0db139c>:0
at ZEPETO.Script.Extensions.GetComponentsExtension.ContextFunctionWrapper (System.IntPtr isolate, System.IntPtr info, System.IntPtr self, System.Int32 len, System.Int64 data) [0x00049] in <5cda7f8e134b495f91d672a8b0db139c>:0
Please tell us the version of the ZEPETO World package. (You can check the version in Unity > Window > Package Manager.) 1.4.1
Please tell us which version of the ZEPETO app is currently installed. (You can check the version in ZEPETO App > MY > Settings > Version.) 3.13.6
What features were you trying to implement? Try AddComponent
What problem did you encounter? If the AddComponent function is used, it gives null because the corresponding type does not exist... No matter how you look at it, it seems to work strangely. There is no way to add a component.
Please tell us your development environment. Window 10
Please attach the implemented code. If you have a screenshot, please attach it. The error message below appears. swizzling error,Error: c# exception:Object reference not set to an instance of an object,stack: at ZEPETO.Script.ZepetoScriptInstance.InitializeInstance (System.String module, ZEPETO.Script.ZepetoScriptContext context) [0x00017] in <5cda7f8e134b495f91d672a8b0db139c>:0 at ZEPETO.Script.ZepetoScriptBehaviourComponent.InitializeWithModule (System.String moduleName) [0x00006] in <5cda7f8e134b495f91d672a8b0db139c>:0 at ZEPETO.Script.Extensions.GetComponentsExtension.AddScriptComponent (System.String name, System.Object obj, ZEPETO.Script.ZepetoScriptContext context) [0x00012] in <5cda7f8e134b495f91d672a8b0db139c>:0 at ZEPETO.Script.Extensions.GetComponentsExtension.ContextFunctionWrapper (System.IntPtr isolate, System.IntPtr info, System.IntPtr self, System.Int32 len, System.Int64 data) [0x00049] in <5cda7f8e134b495f91d672a8b0db139c>:0