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)

  1. This is a duplicate of issue #927848

    Reference rewriter fails in 2017.2 with analytics enabled

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.