The Photon Forum
is Closed Permanently.

After many dedicated years of service, we have made the decision to retire our Forum and switch to read-only: we´ve saved the best to last! Your search result can be found below. Plus, we offer support via these channels:

Try Our

Please check if you can find an answer in our extensive documentation on Fusion.

Join Us
on Discord

Meet and talk to our staff and the entire Photon-Community via Discord.

Stack Overflow

Find more information on Stack Overflow (for Circle members only).

Write Us
an E-Mail

Feel free to send your question directly to our developers.

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

2022-04-20 10:22:43

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 [email protected] 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!


2022-06-15 14:05:31

Hi @foteini ,

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


Ramon Melo

Photon Fusion Team

Back to top