Not working on both Win/Mac 2018.2.16f1

Issue #6 resolved
Eric Bates created an issue

Hi, I just installed .peek and it doesnt seem to be working. I get different errors on Mac and Windows and am not able to get any of the reports to display after building.

Im using unity 2018.2.16f1

Ive attached an image of the windows error, the mac errors relate to InvalidCastExceptions.

Thanks for your help!

Comments (14)

  1. Terry Magnus Drever

    Hello Eric,

    So sorry to hear about this problem, we’re investigating now and should have a fixed build for you ASAP!

    -Terry

  2. Thibault Gouala

    Hi @eblabs ,

    We are currently trying to reproduce your issue. Do you think it would be possible for you to share with us your project or a simplified version that still fails showing up .Peek through wetransfer for example ? You can mail it to support@wellfired.com . If you cannot, then we will still try to reproduce it.

    Also, could you copy the full error message (with stacktrace) you have on both windows and mac ?

    Regards Thibault

  3. Thibault Gouala

    Hi @eblabs ,

    There is a couple of things we have in mind to fix this issue. Could you reach us on support@wellfired.com ? Then we will send over a new package of .Peek for you to have a try.

    Thanks !

  4. Eric Bates reporter

    Fyi, I've replied via email. I will send the error messages when I'm back at my office. Possibly tomorrow

    thanks!!

  5. Eric Bates reporter

    Here is the error Im getting on windows:

    DirectoryNotFoundException: Directory 'C:\Users\Eric\Documents/DotPeekReports/ea5ea9b5-4cd5-4660-9e8f-ac1f408659a4/ea5ea9b5-4cd5-4660-9e8f-ac1f408659a4' not found.
    System.IO.Directory.GetFileSystemEntries (System.String path, System.String searchPattern, FileAttributes mask, FileAttributes attrs) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:514)
    System.IO.Directory.GetFiles (System.String path, System.String searchPattern) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:308)
    WellFired.Peek.ViewModel.BuildReportsLister.get_Files () (at /home/ubuntu/BuildAgent/work/399a3068839dc0c6/solution/WellFired.Peek.ViewModel/BuildReportsLister.cs:34)
    WellFired.Peek.ViewModel.ReportListVM.InitializeReportsList () (at /home/ubuntu/BuildAgent/work/399a3068839dc0c6/solution/WellFired.Peek.ViewModel/ReportListVM.cs:205)
    WellFired.Peek.ViewModel.ReportListVM..ctor (IBuildReportsLister buildReportsLister, IBuildReportStorage buildReportStorage, IBuildReportManager buildReportManager, WellFired.Peek.ViewModel.Toolbox toolbox) (at /home/ubuntu/BuildAgent/work/399a3068839dc0c6/solution/WellFired.Peek.ViewModel/ReportListVM.cs:165)
    WellFired.Peek.ViewModel.DotPeek.Inject (ILogger logger, INotifyPropertyChanged persistentData, IPlatformProvider platformProvider) (at /home/ubuntu/BuildAgent/work/399a3068839dc0c6/solution/WellFired.Peek.ViewModel/DotPeek.cs:64)
    WellFired.Guacamole.Unity.Editor.GuacamoleWindow.ResetForSomeReason ()
    WellFired.Guacamole.Unity.Editor.GuacamoleWindow.Launch (IInitializationContext initializationContext)
    WellFired.Guacamole.Unity.Editor.Application.Launch (WellFired.Guacamole.Unity.Editor.InitializationContext initializationContext, System.Type persistantType)
    WellFired.Guacamole.Unity.Editor.LaunchableApplication.Launch[DotPeekWindow,DotPeek] (UIRect uiRect, UISize minSize, System.String title, Boolean allowMultiple, System.String applicationName, System.String companyName, System.Type persistantType, System.Reflection.Assembly[] externalRenderersAssemblies)
    WellFired.Peek.Application.Unity.Editor.WindowLauncher.Launch (System.String companyName, System.String applicationName, System.String applicationTitle) (at /home/ubuntu/BuildAgent/work/399a3068839dc0c6/solution/WellFired.Peek.Application.Unity.Editor/WindowLauncher.cs:15)
    WellFired.Peek.Application.Unity.Editor.DotPeek.OpenWindow () (at /home/ubuntu/BuildAgent/work/399a3068839dc0c6/solution/WellFired.Peek.Application.Unity.Editor/DotPeek.cs:79)
    WellFired.Peek.Application.Unity.Editor.Callbacks.OpenDotPeek.Launch () (at /home/ubuntu/BuildAgent/work/399a3068839dc0c6/solution/WellFired.Peek.Application.Unity.Editor/Callbacks/OpenDotPeek.cs:10)
    
  6. Thibault Gouala

    Hi @eblabs ,

    We sent to you a new package. It does not directly fixes your issue since we could not reproduce it yet, but some fixes we did related to Unity 2018.2 may also fix what you are experiencing.

    Let us know how it goes, Thanks !

  7. Thibault Gouala

    Input from another users with very similar problem :

    Hi there - I just purchased .Peek (was excited to see what it would generate for our project) but I'm not able to get it working. As soon as I finish importing the UnityPackage, I get 9 hits in the console of the following:

    #!
    
    System.InvalidOperationException: Operation is not valid due to the current state of the object.
      at Mono.Cecil.ModuleDefinition.ReadSymbols (Mono.Cecil.Cil.ISymbolReader reader) [0x0002f] in <a3989f8c34e6476eaca56644d5639ee8>:0
      at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x0004a] in <a3989f8c34e6476eaca56644d5639ee8>:0
      at Mono.Cecil.ModuleReader.CreateModule (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x00081] in <a3989f8c34e6476eaca56644d5639ee8>:0
      at Mono.Cecil.ModuleDefinition.ReadModule (Mono.Disposable`1[T] stream, System.String fileName, Mono.Cecil.ReaderParameters parameters) [0x0000d] in <a3989f8c34e6476eaca56644d5639ee8>:0
    

    After that, it recompiles all of our assemblies, and when I try to open the window, it finally triggers the following error messages:

    #!
    
    DirectoryNotFoundException: Could not find a part of the path 'C:\Users\{MYUSERNAMEREDACTED}\Documents\DotPeekReports\300a77c2-160e-4215-8e21-65d8eb6d0c31\300a77c2-160e-4215-8e21-65d8eb6d0c31'.
    System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource].HandleError (System.Int32 hr, System.String path) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource].CommonInit () (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.FileSystemEnumerableIterator`1[TSource]..ctor (System.String path, System.String originalUserPath, System.String searchPattern, System.IO.SearchOption searchOption, System.IO.SearchResultHandler`1[TSource] resultHandler, System.Boolean checkHost) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.FileSystemEnumerableFactory.CreateFileNameIterator (System.String path, System.String originalUserPath, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.Directory.InternalGetFileDirectoryNames (System.String path, System.String userPathOriginal, System.String searchPattern, System.Boolean includeFiles, System.Boolean includeDirs, System.IO.SearchOption searchOption, System.Boolean checkHost) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.Directory.InternalGetFiles (System.String path, System.String searchPattern, System.IO.SearchOption searchOption) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.Directory.GetFiles (System.String path, System.String searchPattern) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    WellFired.Peek.ViewModel.BuildReportsLister.get_Files () (at <287e1960d51142d988a02ce08046dec4>:0)
    WellFired.Peek.ViewModel.ReportListVM.InitializeReportsList () (at <287e1960d51142d988a02ce08046dec4>:0)
    WellFired.Peek.ViewModel.ReportListVM..ctor (WellFired.Peek.ViewModel.IBuildReportsLister buildReportsLister, WellFired.Peek.Generator.Storage.IBuildReportStorage buildReportStorage, WellFired.Peek.ViewModel.IBuildReportManager buildReportManager, WellFired.Peek.ViewModel.Toolbox toolbox) (at <287e1960d51142d988a02ce08046dec4>:0)
    WellFired.Peek.ViewModel.DotPeek.Inject (WellFired.Guacamole.Diagnostics.ILogger logger, System.ComponentModel.INotifyPropertyChanged persistentData, WellFired.Guacamole.Platforms.IPlatformProvider platformProvider) (at <287e1960d51142d988a02ce08046dec4>:0)
    WellFired.Guacamole.Unity.Editor.GuacamoleWindow.ResetForSomeReason () (at <bc0d00c1cc7142658dd5af8c8d263b8b>:0)
    WellFired.Guacamole.Unity.Editor.GuacamoleWindow.Launch (WellFired.Guacamole.InitializationContext.IInitializationContext initializationContext) (at <bc0d00c1cc7142658dd5af8c8d263b8b>:0)
    WellFired.Guacamole.Unity.Editor.Application.Launch (WellFired.Guacamole.Unity.Editor.InitializationContext initializationContext, System.Type persistantType) (at <bc0d00c1cc7142658dd5af8c8d263b8b>:0)
    WellFired.Guacamole.Unity.Editor.LaunchableApplication.Launch[TWindow,TViewModel] (WellFired.Guacamole.Data.UIRect uiRect, WellFired.Guacamole.Data.UISize minSize, System.String title, System.Boolean allowMultiple, System.String applicationName, System.String companyName, System.Type persistantType, System.Reflection.Assembly[] externalRenderersAssemblies) (at <bc0d00c1cc7142658dd5af8c8d263b8b>:0)
    WellFired.Peek.Application.Unity.Editor.WindowLauncher.Launch (System.String companyName, System.String applicationName, System.String applicationTitle) (at <8ed0852951bf426984a3f78045e6aae9>:0)
    WellFired.Peek.Application.Unity.Editor.DotPeek.OpenWindow () (at <8ed0852951bf426984a3f78045e6aae9>:0)
    WellFired.Peek.Application.Unity.Editor.Callbacks.OpenDotPeek.Launch () (at <8ed0852951bf426984a3f78045e6aae9>:0)
    

    and finally:

    #!
    
    UnauthorizedAccessException: Access to the path 'C:\Users\{MYUSERNAMEREDACTED}\AppData\Local\Guacamole\Guacamole\Unity\Keys\' is denied.
    System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
    System.IO.StreamWriter.CreateFile (System.String path, System.Boolean append, System.Boolean checkHost) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize, System.Boolean checkHost) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding, System.Int32 bufferSize) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.StreamWriter..ctor (System.String path, System.Boolean append, System.Text.Encoding encoding) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    (wrapper remoting-invoke-with-check) System.IO.StreamWriter..ctor(string,bool,System.Text.Encoding)
    System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    System.IO.File.WriteAllText (System.String path, System.String contents) (at <f826c2584fc94ec19a48a6576640bdc5>:0)
    WellFired.Guacamole.DataStorage.Storages.FileStorageService.Write (System.String data, System.String key) (at <9cbcd5d80abc45fa8d2c6e2c9c06a614>:0)
    WellFired.Guacamole.WindowContext.ContextStorage.Save (System.String windowID, WellFired.Guacamole.WindowContext.Context context) (at <9cbcd5d80abc45fa8d2c6e2c9c06a614>:0)
    WellFired.Guacamole.Unity.Editor.GuacamoleWindow.OnDisable () (at <bc0d00c1cc7142658dd5af8c8d263b8b>:0)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    

    I've tried reimporting- I've tried closing and reopening Unity - I've tried a number of other things, only to get nothing.

    I'm on 2018.2.1f, using the NET4.X runtime.

    Is there anything I can do to get unblocked here?

  8. Thibault Gouala

    Hi @eblabs,

    It looks like we could reproduce the issue and fix it. You will receive a new package by mail as soon as we finish reviewing changes and running all our tests.

    • Thibault
  9. Thibault Gouala

    Hi @eblabs ,

    A new version fixing your issue is on the asset store. Please get this version and come back to us if you still experience any issue. I will close this ticket for the moment.

    Cheers, Thibault

  10. Log in to comment