#(IN-42757) [1.0.10] KeyNotFoundException: The given key 'xxx' was not present in the dictionary
1 messages · Page 1 of 1 (latest)
[1.0.0-pre.65] KeyNotFoundException: The given key 'xxx' was not present in the dictionary
Looks like it's caused by sprite atlas not play well with Entities. When sprite atlas is ticked include in build, u will very easy to get the error above and u will keep getting the error and failed to build
🥲 The build error return again even removed sprite atlas
@quartz drum 🥲 This is really serious issue that I can't successfully build player runtime anymore. I would like to get hotfix to fix locally first asap. I will need to give client the player runtime build very soon.
@cobalt canyon known issue?
looks like it's not a known issue, but paul said he can investigate. that said, i'm a little confused about how to trigger it; at first it sounds like it was when there's a spriteatlas, but then it's still there after you remove it? or what's going on?
also, i would think even if we do find it it's unlikely to make the next release because the next release is probably too soon
Understandable. You can just tell me which line to change so I can fix it locally first
we don't know yet, we have to repro first 🙂
🧐 Alright. Looks like when u have package that has sprite atlas at package manager, u will get this error.
what package are you using that has one?
It's third party package called In-game Debug Console. I guess when sprite atlas is at Package directory, Entities failed handle it properly
To make it clear, at authoring baker when u drag and drop the prefab that using sprite atlas that is at Package directory and bake into component then build player runtime u will get the build error.
In your case would it be possible to copy the prefab and atlas from the package folder into your project?
🥲 I just moved it into project but still get the same build error, Looks Entities really not play well with Sprite Atlas
I'm confused about this.
Ignore this 😅
@steep valve @quartz drum Alright. New update. For now I solve the build error by removing sprite atlas at the package. I found that as long as I have one sprite atlas, no matter it's at project folder or package folder I will get build error. I need to remove all the sprite atlas at both project and package
[1.0.10] KeyNotFoundException: The given key 'xxx' was not present in the dictionary
@quartz drum Any new update? Still have the issue at 1.0.10. I found that when u bake the prefab that using sprite atlas inside project Asset directory u will get the error. To get away the error, either not bake the prefab or untick include in build at sprite atlas but disable sprite atlas will get game object with empty sprite.
(IN-42757) [1.0.10] KeyNotFoundException: The given key 'xxx' was not present in the dictionary
@quartz drum IN-42757 Here's the case number, Hopefully this bug can be fixed soon at next release since it's blocking my project to build player runtime.
i'll re-bug about it, thanks for the number, it will help