Commit ac9379b
Stewart Miles
Handle exceptions thrown by Unity.Cecil on asset rename
When the VersionHandler activates a package it potentially renames
DLLs to the canonical name causing the DLL to be reimported. In
some cases this can cause Unity.Cecil (as far I can tell they use this
to rewrite DLLs) to throw exceptions while processing the DLL which
are totally harmless as they DLL is imported and processed again
when AssetDatabase.Refresh() is executed.
BUG=34123612
Change-Id: I20e993aa0de8ff8b1075258d042ccf076b945ddf1 parent b215087 commit ac9379b
1 file changed
+16
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
405 | | - | |
406 | | - | |
407 | | - | |
408 | | - | |
409 | | - | |
410 | | - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
411 | 420 | | |
412 | | - | |
413 | 421 | | |
414 | 422 | | |
415 | 423 | | |
| |||
0 commit comments