Skip to content

UQuery doesn't work in Games using UIElements #441

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

Open
plasmatank opened this issue Apr 15, 2025 · 2 comments
Open

UQuery doesn't work in Games using UIElements #441

plasmatank opened this issue Apr 15, 2025 · 2 comments

Comments

@plasmatank
Copy link

plasmatank commented Apr 15, 2025

UQuery on UIElements.VisualElement will cause error like this:
Unable to compile the code. Evaluator's last output was: (2,25): error CS0584: Internal compiler error: Unexpected error when loading type 'UnityEngine.UIElements.UQueryBuilder<T>'
But the single captured Q method works well. I checked unstripped code found that some methods under UQueryBuilder failed to unstrip, maybe that's the cause?

@SamboyCoding
Copy link
Owner

What?

@ds5678
Copy link
Contributor

ds5678 commented Apr 18, 2025

It sounds like you're using a mod loader. Is that correct?

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

3 participants