Skip to content
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

Some Unity uids could not be resolved by xrefmap #4

Open
filzrev opened this issue Feb 21, 2024 · 0 comments
Open

Some Unity uids could not be resolved by xrefmap #4

filzrev opened this issue Feb 21, 2024 · 0 comments

Comments

@filzrev
Copy link

filzrev commented Feb 21, 2024

On my environment.

<xref:UnityEngine.GameObject> failed to resolve the link.
But <xref:UnityEngine.Behaviour> works as expected.

This seems to be caused by the sort order of xrefmap.yml file.
docfx expecting sorted xrefmap should be sorted by Uid with InvariantCulture string comparer.

But the current contents of xrefmap.json seem to be sorted by other string comparer.
And it causes failure search uid with `BinarySearch'.
https://github.com/dotnet/docfx/blob/7d511fb032de82d0105f08e1f649b2b066697397/src/Docfx.Build/XRefMaps/BasicXRefMapReader.cs#L36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant