SamyBencherif / WPS-issue-tracker

0 stars 0 forks source link

Not working on Unity 2020.2 #3

Open fshiruba opened 3 years ago

fshiruba commented 3 years ago

Describe the bug In unity 2020.2 URP, dragging Portal pair prefab creates constant spam of "camera projection matrix flipped is being called outside camera rendering scope", Unity becomes unresponsive.

To Reproduce Steps to reproduce the behavior:

  1. Open Unity 2020.2 with URP pipeline
  2. Drag portal pair to the scene
  3. watch console spam
  4. Expected behavior No errors on console

Screenshots

image

Developer Machine (please complete the following information): I5 Geforce 1060 16 gb ram Unity 2020.2 + URP

Client Device (please complete the following information): I5 Geforce 1060 16 gb ram Unity 2020.2 + URP

Additional context Thanks for the package!

SamyBencherif commented 3 years ago

This project has been archived. I believe this issue is related to a change in Unity Editor rendering. A quick fix would be to remove the OnRenderGUI or OnDrawGizmo call from portal.cs and forgo the editor preview of portals. (I currently do not have the source code, so I am going from memory)