Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Create and Open a new file in native plugin at "Assets" folder get error message

Discussion in '2018.1 Beta' started by iriguchi, Apr 26, 2018.

  1. iriguchi

    iriguchi

    Joined:
    Feb 1, 2016
    Posts:
    46
    Create and Open a new file (for log error) in native plugin at "Assets" folder (Application.dataPath)
    I got the massage form Unity Editor

    "Assertion failed: Cancelling DisplayDialog because it was run from a thread that is not the main thread: Opening file failed Opening file C:/Users/AWV056038/Documents/Unity/2018_1_0b13_3d/Assets/Preview.mrplugin.log: プロセスはファイルにアクセスできません。別のプロセスが使用中です。"

    in English

    "Assertion failed: Cancelling DisplayDialog because it was run from a thread that is not the main thread: Opening file failed Opening file C:/Users/AWV056038/Documents/Unity/2018_1_0b13_3d/Assets/Preview.mrplugin.log: The process can not access the file. Another process is in use."

    The native plugin is same on Unity2017 and 5.6. There is no massage like this.

    I think that the file import.create the message.
    It is not comfortable for our native plugin use who will use Unity 2018.

    Can I get any workaround or change this behavior?

    Thanks,
    Hirokazu