-
-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty key is throwing an exception #776
Comments
The issue may be in the scanner. Probably around here. YamlDotNet/YamlDotNet/Core/Scanner.cs Line 420 in f18356c
|
It’s actually valid yaml. A key can be empty or null. |
I also have this issue |
Is this still an issue in the latest version? |
In the deserializer there's nothing we can do since the .NET dictionary class doesn't allow |
What about an empty string in the case of string? |
Here is a meta file created by Unity for a managed dll:
Note this line
: Any
. It doesn't contain a valid key.This is incorrect but Unity output this. So is it possible to safely ignore this line? Where is the code handling this? I'm willing to create a PR to support this.
BTW, this causes a
ArgumentException
here:The text was updated successfully, but these errors were encountered: