Fusion 102 issue

rdb
rdb

I finished the Fusion 102 tutorial which works when run in Unity editor, I get the Player on screen and am able to move it.

When I try Build and Run or launch the built executable the Players do not appear.

Anyone else have this issue?

Answers

  • emotitron
    emotitron ✭✭✭

    First thing usually recommended for build problems is to make sure that Run In Background is enabled in Project Settings - Player.

  • rdb
    rdb

    Thanks for the reply but unfortunately Run in Background was enabled by default.

  • rdb
    rdb

    Has anyone had success in building this Fusion tutorial?

  • yufu
    yufu

    yes, I am build the 102 scene and got the error:


    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/nanosockets

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.so

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.bundle

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/nanosockets

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.so

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.bundle

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/nanosockets

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.so

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.bundle

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/nanosockets

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.dylib

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.so

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets.bundle

    Fallback handler could not load library /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Frameworks/MonoEmbedRuntime/osx/libnanosockets

    <color=#144078>[Fusion]</color> System.DllNotFoundException


    I have set the libnanosockets as i am using M1 mac os



    Mono path[0] = '/Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Resources/Data/Managed'

    Mono config path = '/Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/MonoBleedingEdge/etc'

    Found 1 interfaces on host : 0) 192.168.0.105

    Multi-casting "[IP] 192.168.0.105 [Port] 55150 [Flags] 2 [Guid] 2029881037 [EditorId] 3232550764 [Version] 1048832 [Id] OSXPlayer(1,YufudeMacBook-Pro.local) [Debug] 0 [PackageName] OSXPlayer [ProjectName] Testing101" to [225.0.0.222:54997]...

    AS: AutoStreaming module initializing.

    Initialize engine version: 2021.3.2f1c1 (7ac240095d88)

    [Subsystems] Discovering subsystems at path /Users/yufu/Downloads/Fusion-101-1.0.0/untitled folder/pp.app/Contents/Resources/Data/UnitySubsystems

    GfxDevice: creating device client; threaded=1; jobified=0

     preferred device: Apple M1 Pro (high power)

    Metal devices available: 1

    0: Apple M1 Pro (high power)

    Using device Apple M1 Pro (high power)

    Initializing Metal device caps: Apple M1 Pro

  • I had the same problem on macOS (Intel processor), in my case, it's because of the collision between Intel and AppleSilicon version of the libnanosockets plugin.

    I fixed this with the following steps:

    1) Open the file Assets/Photon/Fusion/Plugins/NanoSockets/macOS/Intel/libnanosockets.dylib in inspector, make sure that Editor and Standalone in "Include Platform" is checked, then Apply.

    2) Open the file Assets/Photon/Fusion/Plugins/NanoSockets/macOS/AppleSilicon/libnanosockets.dylib in inspector, make sure that Editor and Standalone in "Include Platform" is NOT checked, then Apply.

    3) Open File > Build Setting, change Architecture to Intel 64-bit.

    Hope this help.

  • salah_99
    salah_99
    edited September 19

    Man!!!

    I am evaluating both Normcore and Photon Fusion and I noticed the followings:

    Photon requires you to install Mono Cecil which we don't know if it's going to be maintained in the future

    Photon had the above bug on MacOS which I didn't encounter with Normcore (it basically worked out of the box)

    Normcore has a support for AR/VR which I couldn't see on Photon Fusion as one of the available app types.

    Also, Normcore supports WebGl out of the box and I see Photon fusion just catching up!!

    Finally, I see that Photon Fusion synchronization of players is much faster and solid that Normcore!!!!