Impostor project has error

The whole answer can be found below.

Please note: 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! And we offer you support through these channels:

Try Our
Documentation

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

Join Us
on Discord

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

Read More on
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.

Impostor project has error

ElegantUniverse
2022-08-12 21:58:16

Hello

I downloaded the Impostor project from this link when switching the project to android I encounter 2 errors that I attached in the screenshot please someone guide me.

error:

Assets\Scripts\Networking\PlayerObject.cs(5,20): error CS0234: The type or namespace name 'Fusion' does not exist in the namespace 'Photon.Voice' (are you missing an assembly reference?)

Assets\Scripts\Networking\PlayerObject.cs(24,33): error CS0246: The type or namespace name 'VoiceNetworkObject' could not be found (are you missing a using directive or an assembly reference?)

Comments

chuckyw
2022-08-15 14:01:24

Hi,

try adding FUSION_WEAVER symbol into Player Settings>Android>Scripting Define Symbol (https://docs.unity3d.com/Manual/CustomScriptingSymbols.html)

btw. minimal supported Unity version for Fusion Impostor is 2021.3 and you are using 2020.3

Back to top