Error CS0246 in Fusion.CodeGen.cs when trying to build for IOS

Options
foteini
foteini
edited April 2022 in Fusion

Hi all,

I am trying to create a multiplayer app for IOS devices using Fusion and Unity Version: 2020.3.21f1. The logic is based on the Fusion-Application-Loop sample. In Editor everything seems to work fine since 1.the com.unity.nuget.mono-cecil@1.10.2 package was successfully downloaded, 2. a valid app id was entered and  Change Scene Load Spawn Mode was changed to Queued in Network Project Config Settings.

The problem arises when trying to build for IOS. All the errors are related to Fusion.CodeGen.cs where namespace names from Mono-Cecil cannot be found. In Visual Studio everything seems fine.

Has anyone faced the same issue or any ideas on a possible fix? Thanks in advance!

Answers

  • ramonmelo
    Options

    Hi @foteini ,


    Can you update to the latest SDK build and check again if it still persists?


    --

    Ramon Melo

    Photon Fusion Team