{"action":"closed","issue":{"url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/69","repository_url":"https://api.github.com/repos/Placeholder-Software/Dissonance","labels_url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/69/comments","events_url":"https://api.github.com/repos/Placeholder-Software/Dissonance/issues/69/events","html_url":"https://github.com/Placeholder-Software/Dissonance/issues/69","id":278671769,"number":69,"title":"2017.2 Unity Internal Compiler Error","user":{"login":"mattnewport","id":1325985,"avatar_url":"https://avatars0.githubusercontent.com/u/1325985?v=4","gravatar_id":"","url":"https://api.github.com/users/mattnewport","html_url":"https://github.com/mattnewport","followers_url":"https://api.github.com/users/mattnewport/followers","following_url":"https://api.github.com/users/mattnewport/following{/other_user}","gists_url":"https://api.github.com/users/mattnewport/gists{/gist_id}","starred_url":"https://api.github.com/users/mattnewport/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattnewport/subscriptions","organizations_url":"https://api.github.com/users/mattnewport/orgs","repos_url":"https://api.github.com/users/mattnewport/repos","events_url":"https://api.github.com/users/mattnewport/events{/privacy}","received_events_url":"https://api.github.com/users/mattnewport/received_events","type":"User","site_admin":false},"labels":[{"id":728723766,"url":"https://api.github.com/repos/Placeholder-Software/Dissonance/labels/Type:%20Unity%20Bug","name":"Type: Unity Bug","color":"bb1111","default":false}],"state":"closed","locked":false,"assignee":{"login":"martindevans","id":177519,"avatar_url":"https://avatars2.githubusercontent.com/u/177519?v=4","gravatar_id":"","url":"https://api.github.com/users/martindevans","html_url":"https://github.com/martindevans","followers_url":"https://api.github.com/users/martindevans/followers","following_url":"https://api.github.com/users/martindevans/following{/other_user}","gists_url":"https://api.github.com/users/martindevans/gists{/gist_id}","starred_url":"https://api.github.com/users/martindevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martindevans/subscriptions","organizations_url":"https://api.github.com/users/martindevans/orgs","repos_url":"https://api.github.com/users/martindevans/repos","events_url":"https://api.github.com/users/martindevans/events{/privacy}","received_events_url":"https://api.github.com/users/martindevans/received_events","type":"User","site_admin":false},"assignees":[{"login":"martindevans","id":177519,"avatar_url":"https://avatars2.githubusercontent.com/u/177519?v=4","gravatar_id":"","url":"https://api.github.com/users/martindevans","html_url":"https://github.com/martindevans","followers_url":"https://api.github.com/users/martindevans/followers","following_url":"https://api.github.com/users/martindevans/following{/other_user}","gists_url":"https://api.github.com/users/martindevans/gists{/gist_id}","starred_url":"https://api.github.com/users/martindevans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martindevans/subscriptions","organizations_url":"https://api.github.com/users/martindevans/orgs","repos_url":"https://api.github.com/users/martindevans/repos","events_url":"https://api.github.com/users/martindevans/events{/privacy}","received_events_url":"https://api.github.com/users/martindevans/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-12-02T09:59:58Z","updated_at":"2018-03-20T17:09:49Z","closed_at":"2018-03-20T17:09:49Z","author_association":"NONE","body":"## Context\r\nAfter updating to Unity 2017.2 from 2017.1 and updating the .NET Runtime to 4.6 in Player Settings we are getting Unity cloud build failures with Dissonance. Local builds work normally however. I haven't yet been able to figure out from the cloud build logs what's going on here or why I'm not able to reproduce it with a local build. Updating Dissonance to the latest version (4.01) did not fix the issue.\r\n\r\n## Expected Behavior\r\nUnity cloud builds succeed the same as Unity local builds.\r\n\r\n## Actual Behavior\r\nThe error log for cloud builds is attached. [cloud-build-failure-dissonance-log.txt](https://github.com/Placeholder-Software/Dissonance/files/1523700/cloud-build-failure-dissonance-log.txt)\r\n\r\nThese lines are the main errors that seem to be due to Dissonance (there's a lot more spew in the full log):\r\n\r\n```\r\n[Unity] -sdk:4.6\r\n[Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp-firstpass.dll\r\n[Unity] Assets/Plugins/Dissonance/Core/Audio/Capture/BasicMicrophoneCapture.cs(16,11): error CS0246: The type or namespace name `MonoBehaviour' could not be found. Are you missing an assembly reference?\r\n[Unity] Assets/Plugins/Dissonance/Core/Audio/Playback/SamplePlaybackComponent.cs(14,11): error CS0246: The type or namespace name `MonoBehaviour' could not be found. Are you missing an assembly reference?\r\n[Unity] Assets/Plugins/Dissonance/Core/Audio/Playback/VoicePlayback.cs(15,11): error CS0246: The type or namespace name `MonoBehaviour' could not be found. Are you missing an assembly reference?\r\n[Unity] Assets/Plugins/Dissonance/Core/BaseCommsTrigger.cs(12,11): error CS0246: The type or namespace name `MonoBehaviour' could not be found. Are you missing an assembly reference?\r\n[Unity] Assets/Plugins/Dissonance/Core/Config/ChatRoomSettings.cs(10,11): error CS0246: The type or namespace name `ScriptableObject' could not be found. Are you missing an assembly reference?\r\n[Unity] Assets/Plugins/Dissonance/Core/Config/DebugSettings.cs(11,11): error CS0246: The type or namespace name `ScriptableObject' could not be found. Are you missing an assembly reference?\r\n[Unity] Assets/Plugins/Dissonance/Core/Config/VoiceSettings.cs(11,9): error CS0246: The type or namespace name `ScriptableObject' could not be found. Are you missing an assembly reference?\r\n[Unity] Unhandled Exception:\r\n[Unity] Mono.CSharp.InternalErrorException: Assets/Plugins/Dissonance/Core/Networking/BaseCommsNetwork.cs(11,22): Dissonance.Networking ---&#62; Mono.CSharp.InternalErrorException: Assets/Plugins/Dissonance/Core/Networking/BaseCommsNetwork.cs(13,27): Dissonance.Networking.BaseCommsNetwork&#60;TServer,TClient,TPeer,TClientParam,TServerParam&#62; ---&#62; System.ArgumentException: An item with the same key has already been added.\r\n\r\n```\r\n\r\n## Steps to Reproduce\r\nI'm not able to reproduce this on a local build but a 2017.2 project with the .NET 4.6 runtime enabled fails this way with cloud builds (cloud build configured to use latest 2017.2 version which is the same as the local one).\r\n\r\n## Your Environment\r\n\r\n- **Dissonance version used**: 4.01\r\n\r\n- **Unity version**: e.g. 2017.2.0f3\r\n\r\n- **Build Settings**: Windows x86_64 cloud builds\r\n"}}
{"actor":{"display_login":"martindevans"}}