Skip to content

Instantly share code, notes, and snippets.

@Cj-bc
Created September 9, 2019 12:39
Show Gist options
  • Save Cj-bc/2ac6f27ce289baef4290ef52da42cab3 to your computer and use it in GitHub Desktop.
Save Cj-bc/2ac6f27ce289baef4290ef52da42cab3 to your computer and use it in GitHub Desktop.
Initialize engine version: 2018.3.5f1 (76b3e37670a4)
GfxDevice: creating device client; threaded=1
2019-09-09 21:11:05.925 testBuild-Plain-20190909-2018.3.5f1[81586:17192702] RDT233WLM preferred device: Intel(R) UHD Graphics 630 (low power)
2019-09-09 21:11:05.925 testBuild-Plain-20190909-2018.3.5f1[81586:17192702] Metal devices available: 1
2019-09-09 21:11:05.926 testBuild-Plain-20190909-2018.3.5f1[81586:17192702] 0: Intel(R) UHD Graphics 630 (low power)
2019-09-09 21:11:05.926 testBuild-Plain-20190909-2018.3.5f1[81586:17192702] Using device Intel(R) UHD Graphics 630 (low power)
Initializing Metal device caps: Intel(R) UHD Graphics 630
Begin MonoManager ReloadAssembly
- Completed reload, in 0.113 seconds
Metal RecreateSurface[0x10e78bb90]: surface size 1920x1080
UnloadTime: 1.419606 ms
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.dylib
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.so
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.bundle
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/grpc_csharp_ext
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.dylib
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.so
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.bundle
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.dylib
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.so
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.bundle
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/grpc_csharp_ext
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.dylib
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.so
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext.bundle
Fallback handler could not load library /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/testBuild-Plain-20190909-2018.3.5f1.app/Contents/Frameworks/MonoEmbedRuntime/osx/libgrpc_csharp_ext
DllNotFoundException: grpc_csharp_ext
at (wrapper managed-to-native) Grpc.Core.Internal.NativeMethods+DllImportsFromSharedLib.grpcsharp_redirect_log(Grpc.Core.Internal.GprLogDelegate)
at Grpc.Core.Internal.NativeLogRedirector.Redirect (Grpc.Core.Internal.NativeMethods native) [0x00028] in T:\src\github\grpc\src\csharp\Grpc.Core\Internal\NativeLogRedirector.cs:49
at Grpc.Core.Internal.NativeExtension..ctor () [0x00011] in T:\src\github\grpc\src\csharp\Grpc.Core\Internal\NativeExtension.cs:44
at Grpc.Core.Internal.NativeExtension.Get () [0x00022] in T:\src\github\grpc\src\csharp\Grpc.Core\Internal\NativeExtension.cs:65
at Grpc.Core.Internal.NativeMethods.Get () [0x00000] in T:\src\github\grpc\src\csharp\Grpc.Core\Internal\NativeMethods.cs:49
at Grpc.Core.GrpcEnvironment.GrpcNativeInit () [0x00016] in T:\src\github\grpc\src\csharp\Grpc.Core\GrpcEnvironment.cs:373
at Grpc.Core.GrpcEnvironment..ctor () [0x0001e] in T:\src\github\grpc\src\csharp\Grpc.Core\GrpcEnvironment.cs:302
at Grpc.Core.GrpcEnvironment.AddRef () [0x00028] in T:\src\github\grpc\src\csharp\Grpc.Core\GrpcEnvironment.cs:78
at Grpc.Core.Server..ctor (System.Collections.Generic.IEnumerable`1[T] options) [0x0006d] in T:\src\github\grpc\src\csharp\Grpc.Core\Server.cs:72
at Grpc.Core.Server..ctor () [0x00000] in T:\src\github\grpc\src\csharp\Grpc.Core\Server.cs:60
at HelloWorldTest.Greet (System.String greeting) [0x00001] in /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/Assets/Scripts/HelloWorldTest.cs:53
at HelloWorldScript.RunHelloWorld (UnityEngine.UI.Text text) [0x00001] in /Users/cj-bc/.ghq/github.com/grpc/grpc/examples/csharp/HelloworldUnity/Assets/Scripts/HelloWorldScript.cs:34
at UnityEngine.Events.InvokableCall`1[T1].Invoke (T1 args0) [0x00011] in <1a6dd6bd1eb54e62ac204ac743847a4b>:0
at UnityEngine.Events.CachedInvokableCall`1[T].Invoke (System.Object[] args) [0x00001] in <1a6dd6bd1eb54e62ac204ac743847a4b>:0
at UnityEngine.Events.UnityEvent.Invoke () [0x0006e] in <1a6dd6bd1eb54e62ac204ac743847a4b>:0
at UnityEngine.UI.Button.Press () [0x0002d] in /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:66
at UnityEngine.UI.Button.OnPointerClick (UnityEngine.EventSystems.PointerEventData eventData) [0x00012] in /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Button.cs:108
at UnityEngine.EventSystems.ExecuteEvents.Execute (UnityEngine.EventSystems.IPointerClickHandler handler, UnityEngine.EventSystems.BaseEventData eventData) [0x00008] in /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:50
at UnityEngine.EventSystems.ExecuteEvents.Execute[T] (UnityEngine.GameObject target, UnityEngine.EventSystems.BaseEventData eventData, UnityEngine.EventSystems.ExecuteEvents+EventFunction`1[T1] functor) [0x00073] in /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:261
UnityEngine.DebugLogHandler:Internal_LogException()
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction`1) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/ExecuteEvents.cs:265)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs:613)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs:510)
UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs:490)
UnityEngine.EventSystems.StandaloneInputModule:Process() (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/InputModules/StandaloneInputModule.cs:254)
UnityEngine.EventSystems.EventSystem:Update() (at /Users/builduser/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/EventSystem/EventSystem.cs:377)
(Filename: T Line: 0)
@andarilhoz
Copy link

I'm having the same problem with grpc dll, have you figure this out?

@Cj-bc
Copy link
Author

Cj-bc commented Dec 11, 2020

Yes! ... I think yes.
Note that:

  • this solution could be not preferred or outdated. I figured out this by myself (and with some google, I think)
  • I'm writing this comment by reviewing my tweets I did that time(ja) and I don't remember by myself how I solved this, so there could be some mistakes in comment.

My solution was:

  1. Clone grpc/grpc repo and on the top directory of it, run make, which generate libgrpc_csharp_ext.dylib
  2. move it to <your unity app>.app/Contents/Frameworks/MonoBleedingEdge/MonoEmbedRuntime/osx/grpc_csharp_ext(yes, I needed to rename it to grpc_csharp_ext, not libgrpc_csharp_ext.dylib)

I hope this helps. If you have some more questions, I'll answer as possible as I can

@andarilhoz
Copy link

Thank you @Cj-bc so much, i was struggling with this for around a month.

Your comment made me try to update the .dll, and it worked perfectly fine!

I wasnt expecting a response so quickly, you really helped me out o/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment