ReactUnity / full-sample

Sample project used for development purpose
MIT License
25 stars 3 forks source link

Apk not display :EntryPointNotFoundException: YGConfigGetDefault assembly #5

Closed chbin12 closed 3 months ago

chbin12 commented 4 months ago

I build sample project to android apk. The apk cannot render react with error log:

EntryPointNotFoundException: Unable to find an entry point named 'YGConfigGetDefault' in 'yoga'. Tried the following entry points: Unable to get function 'YGConfigGetDefault' because of 'The requested function was not found (0x06000001) dlerror() = undefined symbol: YGConfigGetDefault at Yoga.Native.YGConfigGetDefault () [0x00000] in <00000000000000000000000000000000>:0 at Yoga.YGConfigHandle..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Yoga.YogaConfig..cctor () [0x00000] in <00000000000000000000000000000000>:0 at Yoga.YogaNode..ctor (Yoga.YogaConfig config) [0x00000] in <00000000000000000000000000000000>:0 at ReactUnity.BaseReactComponent`1[ContextType]..ctor (ContextType context, System.String tag, System.Boolean isContainer) [0x00000] in <00000000000000000000000000000000>:0 at ReactUnity.UGUI.UGUIComponent..ctor (UnityEngine.RectTransform existing, ReactUnity.UGUI.UGUIContext context, System.String tag, System.Boolean isContainer) [0x00000] in <00000000000000000000000000

KurtGokhan commented 3 months ago

Fixed in core version 0.18.3