Search Issue Tracker
Won't Fix
Votes
9
Found in
2022.2.0b3
Issue ID
UUM-2718
Regression
No
"Screen position out of view frustum" error is throw when moving the mouse over the Game view with water in the Scene
How to reproduce:
1. Open user's attached "WaterBug" project
2. Open the "UI Menu" Scene
3. Move your mouse over the Game view
Expected results: No errors are thrown
Actual results: The "Screen position out of view frustum" error is spammed in the Console
Reproducible with: 2018.4.26f1, 2019.4.8f1, 2020.1.3f1, 2020.2.0a21
Notes:
- The error might not appear sometimes but changing the Editor window size will make the error start appearing
- The issue reproduces on Editor and Windows Standalone Build
- The issue does not reproduce on WebGL Build
- Opening the Build in the windowed mode can sometimes make the error stop from appearing and it will not be appearing even when launching it in non-windowed mode later
- In the Editor closing and re-opening the Game view will make the error stop appearing
- In the Water.cs script changing the line 224 (reflectionCamera.Render()) to:
if (reflectionCamera.rect.x \!= 0 && reflectionCamera.rect.y \!= 0)
\{
reflectionCamera.Render();
}
will fix the issue in both the Editor and the Build
Comments (2)
-
Kamyker
Sep 06, 2020 12:43
"reflectionCamera.rect.x != 0 && reflectionCamera.rect.y != 0" is always false
-
Kamyker
Sep 06, 2020 12:43
if (reflectionCamera.rect.x != 0 && reflectionCamera.rect.y != 0)
{
reflectionCamera.Render();
}This doesn't fix the issue but disables water completely as rect.x and rect.y is always 0
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Channel remapping dropdown in the Terrain Layer does not open when clicked on the title
- The Editor freezes indefinitely when a large number of elements are entered in the Subgraphs or Categories lists
- Some Visual Effects package Assets links to documentation are not working
- Heatmap asset’s documentation button in the Inspector window leads to “Sorry... that page seems to be missing!” page when clicked
- Crash on MonoBehaviour::CallMethodIfAvailable when performing various actions
Resolution Note:
No reproducible issue found on the engine side. The issue lies in the water implementation.