Problems with PhotonChatApi while building
in DotNet
Hi!
I faced with such problem at my project after update version of Photon. I tried to find solution by my own, but can't.
I have next issue.
I just do next steps:
1. Create new Unity3d project;
2. Push it to repository on bitbucket;
3. Try to build project in Cloud Build;
And till this step - everything is fine, I have succeed build;
Then
4. Import Photon Unity Networking pluging from assets store in Unity3d project;
5. Push it to my repo;
6. Try to build project in Cloud Build;
7. Have next error in Cloud Build's console:
Does anyone have any ideas how to fix it?
I faced with such problem at my project after update version of Photon. I tried to find solution by my own, but can't.
I have next issue.
I just do next steps:
1. Create new Unity3d project;
2. Push it to repository on bitbucket;
3. Try to build project in Cloud Build;
And till this step - everything is fine, I have succeed build;
Then
4. Import Photon Unity Networking pluging from assets store in Unity3d project;
5. Push it to my repo;
6. Try to build project in Cloud Build;
7. Have next error in Cloud Build's console:
I tried to change setting of all Photon3Unity3D.dll files(at Plugins foler, at WP8 folder and at Metro folder), but it didn't help.958: [Unity] Assets/Plugins/PhotonChatApi/ChatClient.cs(32,31): error CS0246: The type or namespace name `IPhotonPeerListener' could not be found. Are you missing a using directive or an assembly reference?959: [Unity] Assets/Plugins/PhotonChatApi/ChatPeer.cs(20,31): error CS0246: The type or namespace name `PhotonPeer' could not be found. Are you missing a using directive or an assembly reference?
Does anyone have any ideas how to fix it?
0
Answers
-
It might be related to building order in Unity.
Please try to move the PhotonChatApi folder one up into the Assets\ folder. Try again.0 -
Hi,
Trying to reproduce the problem here:
-- What version of Unity is used to build in the cloud?
-- What platform are you building for in the cloud?
Bye,
Jean
0 -
Hi,
Have a look at this post, it may hold the answer:
http://forum.photonengine.com/discussion/comment/27496/#Comment_27496
Bye,
Jean0