Search Issue Tracker

Postponed means that the issue was either a feature request or something that requires major refactoring on our side. Since that makes the issue not actionable in the close future we choose to close it as Postponed and add it on our internal roadmaps and technical debt pages instead.

Postponed

Votes

0

Found in

5.4.0b15

Issue ID

790216

Regression

Yes

Deleted DLL in use from Plugins during runtime only removes the meta file, forcing DLL to be imported every time it is deleted

Asset Import

-

Steps to reproduce:
1. Download and open attached project "New Unity Project 29.zip"
2. Open scene "Main" and play it
3. In Project view navigate to Plugins folder and delete "NativeUsingManagedDelegate.dll"
4. Stop playing the scene
5. Switch focus to any other window and then back to Unity

Actual result: Notice that said dll gets recreated (https://gyazo.com/b430020a8653d84183a38a5c055ee421)
Expected result: It stays deleted

Notes: This only seems to affect DLL's from Plugins folder which are in use by someone.
After initial deletion within runtime, DLL gets recreated every time it is deleted, even after the project is stopped, initially locking the file itself and only removing its meta file.

Workaround: Delete DLL manually withing Windows Explorer

Tested and reproduce with:
Windows 10
Unity 5.3.4p4, 5.4.0.b15

Not reproducible with:
Unity 5.2.4p1

Comments (2)

  1. xCyborg

    Feb 02, 2019 00:04

    This must be fixed guys, it's so hard to iterate on plugin development when you have to keep closing and restarting the Editor.

  2. nickfreybler

    Feb 11, 2018 00:21

    I am not able to delete the file with Windows Explorer. I get a "file in use" error. This means that in order to re-import updated versions of a .dll, I must close and reopen Unity, which is incredibly painful. Please fix this soon.

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.