Error Message

Issue #41 resolved
Vincent Nowak created an issue

Dear Marc

I get this error message - my impression is that it's new. It happens right after the import of the uduino wifi prefab. I set the path, i fix the .net settings - and then it's stuck.

My details are:

MacOS Big Sur - MacBook Pro 16 inch / 2019 and the board is a Wemos D1 WROOM-2 ESP8266 WiFi Module 18650

Comments (4)

  1. Vincent Nowak reporter

    Dear Marc

    I am quite unlucky with the latest update of the Wifi library. No idea why, but what used to work previously doesn’t work anymore. I am not receiving the error message from above, but I run into a different issue now.

    For some reason, i can not set the path to the Arduino library on my mac. Look here:

    I change the default path to where my Arduino Library is, i.e. to

    /Applications/Arduino.app/Contents/Java/libraries

    and i get this error message:

    DirectoryNotFoundException: Could not find a part of the path '/Users/vincentnowak/My project/Assets/Uduino/Arduino/libraries'.
    System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.IO.FileSystemEnumerableIterator1[TSource].HandleError (System.Int32 hr, System.String path) (at <695d1cc93cca45069c528c15c9fdd749>:0) System.IO.FileSystemEnumerableIterator1[TSource].CommonInit () (at <695d1cc93cca45069c528c15c9fdd749>:0)
    System.IO.FileSystemEnumerableIterator1[TSource]..ctor (System.String path, System.String originalUserPath, System.String searchPattern, System.IO.SearchOption searchOption, System.IO.SearchResultHandler1[TSource] resultHandler, System.Boolean checkHost) (at <695d1cc93cca45069c528c15c9fdd749>: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 <695d1cc93cca45069c528c15c9fdd749>: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 <695d1cc93cca45069c528c15c9fdd749>:0)

    I am really a little bit lost here. Would you mind to help me out? That would be great!

    Vincent

  2. Marc Teys repo owner

    Hello Vincent,

    Thanks for reporting this issue. I don’t really know what can cause that.
    Here are the steps that could solve your issue:

    1. Delete the folders Uduino and Uduino_Wifi from your Arduino libraries folder. ( something like ~/Documents/Arduino/libraries )
    2. Delete /Uduino/ folder from your Unity game (be sure you didn’t made any edits in the scripts there, or copy them beforehand )
    3. Update Uduino and Uduino Wifi in the asset store windows and reimport it in your game
    4. Manually copy the library folder Uduino and Uduino_Wifi or use Editor to copy it to your /Documents/Arduino/libraries
    5. Close Arduino IDE and reopen it.

    Let me know,
    Best

  3. Vincent Nowak reporter

    Dear Marc

    Thanks a lot for your response. You might not like to hear it, but i rolled back to the previous version - now it’s fine and works. I imagine that the solution is somewhere in the steps you have described above. I think that if i start the next project from scratch, it will be all fine.

    in any case: thank you so much for the the quick response

    Vincent

  4. Log in to comment