#(IN-42757) [1.0.10] KeyNotFoundException: The given key 'xxx' was not present in the dictionary

1 messages · Page 1 of 1 (latest)

worldly sphinx
#

I keep getting this error recently when building and failed that it's critical blocking issue. Did official aware of this issue? How can I fix this issue locally?

#

[1.0.0-pre.65] KeyNotFoundException: The given key 'xxx' was not present in the dictionary

worldly sphinx
#

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

worldly sphinx
#

🥲 The build error return again even removed sprite atlas

worldly sphinx
#

@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.

quartz drum
#

@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

worldly sphinx
quartz drum
#

we don't know yet, we have to repro first 🙂

worldly sphinx
quartz drum
#

what package are you using that has one?

worldly sphinx
#

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.

steep valve
#

In your case would it be possible to copy the prefab and atlas from the package folder into your project?

worldly sphinx
coarse quiver
worldly sphinx
worldly sphinx
#

@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

worldly sphinx
#

[1.0.10] KeyNotFoundException: The given key 'xxx' was not present in the dictionary

worldly sphinx
#

@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.

worldly sphinx
#

(IN-42757) [1.0.10] KeyNotFoundException: The given key 'xxx' was not present in the dictionary

worldly sphinx
#

@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.

quartz drum
#

i'll re-bug about it, thanks for the number, it will help