Commit a4ea6b6
FIX: Give an appropriate error message if an asset went missing (ISX-1921) (#1881)
* FIX: Give an appropriate error message if an asset went missing (ISX-1921)
* Fix format
* Fix ArgumentException discovered during testing
* Pre-existing issue and unrelated to original change; occurs when asset's .meta file deleted but not actual asset
* If we don't have a working copy of the asset on reload, we need to create one.
---------
Co-authored-by: Tim Keosababian <36088732+timkeo@users.noreply.github.com>
Co-authored-by: Håkan Sidenvall <hakan.sidenvall@unity3d.com>1 parent 3f4d780 commit a4ea6b6
2 files changed
Lines changed: 18 additions & 3 deletions
File tree
- Packages/com.unity.inputsystem/InputSystem/Editor
- AssetEditor
- UITKAssetEditor
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
198 | 198 | | |
199 | 199 | | |
200 | 200 | | |
201 | | - | |
| 201 | + | |
202 | 202 | | |
203 | 203 | | |
204 | 204 | | |
| |||
Lines changed: 17 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
172 | 177 | | |
173 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
174 | 187 | | |
175 | 188 | | |
176 | 189 | | |
177 | 190 | | |
178 | 191 | | |
| 192 | + | |
| 193 | + | |
179 | 194 | | |
180 | 195 | | |
181 | 196 | | |
| |||
316 | 331 | | |
317 | 332 | | |
318 | 333 | | |
319 | | - | |
| 334 | + | |
320 | 335 | | |
321 | 336 | | |
322 | 337 | | |
| |||
0 commit comments