Search Issue Tracker
Fixed in 2018.1.X
Fixed in 2017.4.X, 2018.2.X
Votes
26
Found in
2017.3.0a2
2017.3.0f3
Issue ID
980543
Regression
Yes
[OSX] Unity Editor fails to build project when Performance Reporting is enabled
To reproduce:
1. Download attached project "CrashRepo.zip" and open in Unity
2. Open "test" scene
3. Go to the Services window
4. Enable "Performance Reporting"
5. Build & Run project
Expected Result: UnityEditor should successfully build project and run it
Actual Result: Unity Editor fails to build the project and spams errors to Console:
"Assets/GenerateException.cs(7,13): warning CS0649: Field `GenerateException.Null' is never assigned to, and will always have its default value `null’"
"WebException: The remote server returned an error: (403) Forbidden.
System.Net.HttpWebRequest.CheckFinalStatus (System.Net.WebAsyncResult result)
System.Net.HttpWebRequest.SetResponseData (System.Net.WebConnectionData data)
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()"
"Error building Player: WebException: The remote server returned an error: (403) Forbidden."
"Build completed with a result of ‘Failed’
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()"
"UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x0020e] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:181
at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x00065] in /Users/builduser/buildslave/unity/build/Editor/Mono/BuildPlayerWindowBuildMethods.cs:88
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()"
"Assets/GenerateException.cs(7,13): warning CS0649: Field `GenerateException.Null' is never assigned to, and will always have its default value `null’"
Notes:
- This issue appears only on OSX
- Using .NET 3.5
Reproduced on Unity 2017.3.0a2, 2017.3.0f3 and 2018.1.0b1
Not reproduced on Unity 2017.3.0a1
Regression on Unity 2017.3.0a2
Comments (17)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on GUIManager::DoGUIEvent when focusing on the Game view window on a specific project
- Asset creation in the Project Browser is not always undone/inconsistent when the undo shortcut is pressed right after creating an asset
- JobTempAlloc memory leak warning is thrown when the Player is shut down
- Graphics State Collection warm-up does not work when using with Addressables Shaders
- "Baked Shadow Radius" field is visible but inactive when when the Shadow Type is set to "Hard Shadows" under the Light Component
iamabdurrehman
Jul 03, 2019 07:55
Just Login With Unity .. Error will be resolve.
JunaidGhani
Feb 12, 2019 06:37
Unity 2017.2.0f3
.NET FrameWork 3.5
I was able to fix this just by signing out, restarting Unity and opening same project, I was auto logged in and build was fine! Hope it may help someone.
pro_psg
Aug 30, 2018 10:56
Issue reproducible on 2017.1.2p4
ZDestructor
May 06, 2018 20:26
I had a similar error, but it was because I was not signed in.
I had previously pressed "work offline" when starting Unity, and never signed back in, which caused my build to fail since performance reporting was enabled. I checked the Services tab and found that it said "Not signed in", so I signed in, and the next build completed successfully.
PNordlund
Apr 16, 2018 06:35
Given that 2018.1 is still in beta, 2018.2 with the fix is months away. Would expect to see the fix in 2018.1 as well.
luisforque
Mar 08, 2018 20:02
I have this same problem in Windows, trying an Android build. Disabling the performance reporting fixes the build.
Gillissie
Mar 05, 2018 07:16
Good news, following Fredsa's steps fixed it for me. To be clear:
1. Quit Unity
2. Open "ProjectSettings/UnityConnectSettings.asset" in a text editor
3. Find the "CrashReportingSettings" section.
4. Replace "m_Enabled: 1" with "m_Enabled: 0".
5. Launch Unity. See that Performance Reporting is enabled.
6. Quit Unity so it re-saves the project settings with it properly enabled.
Gillissie
Mar 05, 2018 07:10
In addition to builds not working, when I click on the button to try disabling Performance Reporting, the Services window shows this, even though I entered a license: https://screencast.com/t/BJC7sSdskiYM
Gillissie
Mar 05, 2018 07:07
I'm running into this issue with 5.6.5p2. It's extremely frustrating that I signed up for the Plus license so I could use the Performance Reporting tool, and suddenly I can no longer make a build.
serginian
Feb 19, 2018 10:41
P.S. addition to my previous post.
I'm using .net 4.6, not 3.5
Unity 2017.3.1p1
When I'm Building project on Windows for iOs, it spawn the same error as on Mac.
Building process for Android on Windows finished successfull, without any errors.