Search Issue Tracker
Won't Fix
Won't Fix in 2022.2.X
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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
Resolution Note:
No reproducible issue found on the engine side. The issue lies in the water implementation.
Resolution Note (2022.2.X):
No reproducible issue found on the engine side. The issue lies in the water implementation.