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

Avoid hitting test on invalid positions #226

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

davyzhang
Copy link

When starting the example scene I found the error messages like this filling up the console

Screen position out of view frustum (screen pos inf, -inf, 0.000000) (Camera rect 0 0 1536 2048)

here's a quick fix by avoiding test on these positions

Error messages like this will fill up all the console, when starting an example scene

Screen position out of view frustum (screen pos inf, -inf, 0.000000) (Camera rect 0 0 1536 2048)
Avoid hitting test on invalid positions
@ZLam
Copy link

ZLam commented Oct 20, 2024

我也遇到这问题了;Windows平台,引擎版本 unity 2021.3.45f1,fairyGUI插件版本 5.1.0
Example 01就能复现,用 simulator iPhone X 预览就会报错,但改回 game 预览就不会报错,而且好像mac上是不会出现这问题的

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

Successfully merging this pull request may close these issues.

2 participants