Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2020.1.0a3
Issue ID
1193970
Regression
No
[2D] "Invalid targetHash" and "Assertion failed" error messages when deleting packed atlases
"Invalid targetHash" and "Assertion failed" error messages when deleting packed atlases
Error messages occur when atlases are packed, playmode is started then stopped and an atlas is deleted.
Repro steps:
1. Open attached project
2. Open "SampleScene" if it is not open
3. Start and stop playmode
4. Delete an atlas under Assets > Atlases
5. Observe errors:
GetLoadedImportedAssetsAndTargetHashes called with invalid targetHash
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Assertion failed on expression: 'it->second.IsValid()'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Expected Result: No error messages are displayed when atlases are deleted
Actual Result: Error messages are displayed when atlases are deleted
Reproducible with:
Version 2020.1.0a3 (66e2a8618a73)
Comments (11)
-
BenevolenceGames
Mar 19, 2022 15:24
-- Edit --
Operating Unity Version should readOperating Unity Version : 2020.3.30f1
Step 1. of Repro should read
1. Install Unity Version 2020.3.30f1
-
BenevolenceGames
Mar 19, 2022 15:22
Issue still ongoing.
Reported Resolution Version : 2020.1.0a24
Reported Errors :
GetLoadedImportedAssetsAndTargetHashes called with invalid targetHash
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Assertion failed on expression: 'it->second.IsValid()'
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)Operating Unity Version : 2020.3.0f1
Experienced Errors :
GetLoadedImportedAssetsAndArtifactIDs called with invalid artifactID
Assertion failed on expression: 'it->second.IsValid()'Repro :
1. Install Unity version 2020.1.0f4
2. Install Visual Effects Graph from Package Manager
3. Remove Visual Effects Graph from 'In Projects' tab of Package Manager
4. Restart Unity and load project
5. Get Errors : GetLoadedImportedAssetsAndArtifactIDs called with invalid artifactID
Assertion failed on expression: 'it->second.IsValid()'I can only assume this is still an atlas error for removed packages based on the error codes. That is why I posted here instead of opening a new complaint.
-
vila4480
Jan 15, 2021 18:02
Happened to me just now in version 2019.3.6f1 after prefabbing an object.
Deleting the Library fold did not fix it, but now I get this warning multiple times until crash:Identifier uniqueness violation: "'Name:minebot_front_upperleg, Type:Mesh'. Multiple Objects with the same name/type are generated by this Importer. There is no guarantee that subsequent imports of this asset will properly re-link to these targets.
-
Yoon-Seung-Wook
Nov 03, 2020 08:38
This is definitely not fixed. Unity 2019.4.12f1 LTS. 68 error listed every time.
-
phobos2077
Sep 29, 2020 17:03
This is not fixed. Unity 2019.4.11f1 LTS. Appears every time the project is opened.
-
RonnieG19
Sep 13, 2020 14:53
Getting each of these x4 on project opening in v2019.3.13f1 - can't recall when or why it started but it's definitely there once the scene loads.
-
andywatts
May 27, 2020 09:08
Getting this in 2020.1.0b9
-
n3xxt
May 03, 2020 07:25
I have just downloaded the Unity Hub, installed latest version 2019.3.12f1 Personal and got this error just by importing a purchased asset from the store, whereas this issue suggests that this only happens on "deleting packed atlases"
-
levwsr
Apr 30, 2020 16:37
Im getting this after just upgrading to 2019.3f11 and doing a build. It appears to be preventing the build from outputting. I am investigating further.
-
Lightning_A
Apr 17, 2020 16:39
Will there be a fix for 2019.3?
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [HDRP] Lit material preview is rendered incorrectly with a mask map
- The "LerpWhiteTo" missing function displays an error when the Shadows.hlsl shader is included in a Shader file
- Assertion error is thrown and UI is no longer rendered when discarding the changes made to the selectors overriding the default controls
- Application does not crash when "On .Net UnhandledException*" is set to Crash
- Sprites are rendered in a rounded way when SRP batcher is toggled off
Resolution Note (fix version 2020.1):
Fixed in 2020.1.0a24