Search Issue Tracker
Duplicate
Votes
0
Found in
2017.2.0b3
Issue ID
935536
Regression
Yes
[UWP] Cannot build player with IL2CPP backend because of UnityEngine.Analytics.dll
Reproduction steps:
1. Try to build any project using 2017.2 release with IL2CPP scripting backend
2. Fails with following output:
Catastrophic failure while running rrw: System.UnauthorizedAccessException: Access to the path 'F:\Work\Source\New Unity Project\Temp\StagingArea\Data\Managed\UnityEngine.Analytics.dll' is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
at Mono.Cecil.ModuleDefinition.Write(String fileName, WriterParameters parameters) in c:\u\cecil\Mono.Cecil\ModuleDefinition.cs:line 1159
at Unity.ReferenceRewriter.Program.Main(String[] args)
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
- Unity Cloud icon does not appear next to project and does not connect correctly when the project is created with Cloud but closed right after creation
- ScrollerSlider in the Scroller Control is still using UXMLTraits
- Crash on ExtractHandles when shutting down the Editor in a specific scene while Burst jobs are in progress
- Unity Hub closes with no "Project is currently open" window when selecting an already open project from the Projects list
- The Hub freezes indefinitely when copy/pasting a lot of characters in the “Set project display name” Hub window since it has no character limit
This is a duplicate of issue #927848