Search Issue Tracker
Active
Under Consideration for 2022.3.X, 6000.0.X, 6000.1.X, 6000.2.X
Votes
0
Found in
2022.3.63f1
6000.0.51f1
6000.1.7f1
6000.2.0b5
Issue ID
UUM-109328
Regression
No
Artifacts in the Built Game on sprites when using a 2D Pixel perfect camera.
Repro explained by Automn:
I tested your project again and I'm finding that the artifacting and extrusions in the board will appear only when the project is built- not in the Editor or in Play mode. I also found that the severity or look of the artifacting will happen depending on the Projection Size of the Main Camera.
[^pacman.mp4]
In this video, you can see that the first time I build the project, the Pixel Perfect Camera is not active and the Projection Size is set to 18. When the project is built, the artifacting occurs.
The second time the project is built, the Pixel Perfect Camera is active and when this is done, the Projection Size of the Main Camera is automatically set to 19.54167 (which you can see after the build has closed) and you can see the error does not occur.
On the third build, Pixel Perfect is deactivated and the Projection Size is set to 19 where again, the issue does not occur.
As of now based on my findings, I would file this as a bug since built projects should not differ from how they look in the Editor, but before I do so, I would like to clarify - is this the main issue you are describing? Please let me know, I will be waiting for your reply.
---------------------------------
Previous repro:
How to reproduce:
1. Open the attached “IN-98845” project
2. Open the “Game” Scene
3. Change the Game Aspect Ratio to Free Aspect, 16:9 or 16:10
4. Enter Play mode
5. Change the physical size of the Game View window to an uneven number (eg. 749 x 421)
6. Observe the result of the pixels in the Game view
Expected result: The resolution remains at an even number / No pixel misalignment
Actual result: The resolution often changes to uneven numbers / Pixels misalign
Reproducible with: 2022.1.0a1, 2022.3.63f1, 6000.0.51f1, 6000.1.7f1, 6000.2.0b5
Reproduced on: Windows 11
Not reproduced on: No other environment tested
Notes:
- Resizing the window to reach an even number can be difficult, especially on a laptop screen
- Issue occurs without entering Play mode - Play mode only enables the Game View resolution to be printed to the Console
- Issue also reproduces in Player when resolution is manually set to an uneven number (can be done through a script attached to the “Board” GameObject)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [CI/CD]Build cache not invalidated when building targets with different defines
- VFX Learning Templates contains an empty folder the HDRP_VFX_Learning_Templates Scene
- Crash on -[NSApplication endModalSession:] when changing code in a Code Editor, saving and clicking on the Unity Window with "Stop Playing and Recompile" selected
- “Install package from git URL” and “Install package by name” tab does not close when resizing undocked Package Manager window and gets pushed outside the window
- "EndLayoutGroup: BeginLayoutGroup must be called first." errors are thrown when creating a Tag with identical name and holding the enter keyboard button
Add comment