105place
0 votes Vote

[Bug] 2019 LTS HDRP un/pin does not work.

I'm unable to pin or unpin terrain tiles, the only tile outlines that appear are the blue/orange ones that are already pinned with the HDRP demo scene.
Selecting pin or unpin does not display an outline and clicking an appropriate spot after selecting pin or unpin performs the default unity object selection.

I can place and see locks.

Gizmos are on, the gameobject and MapMagic component are enabled.

I'm using MapMagic2 Version: 2.1.6

Tested in fresh projects 2019.4.0f1, 2019.4.11f1, 2019.4.28f1
HDRP version was default for each install and then upgraded to the newest available package for that version.

Testing in a 2020.3.13f1 with default HDRP does pin/unpin as expected.

Chris Applegate , 19.07.2021, 18:27
Idea status: under consideration

Comments

Wraith, 20.07.2021, 00:28
guess it's because the HDRP terrain shader changed in 2020. Try creating terrain material with proper terrain shader and assign to Terrain Properties/Material Template
Christopher Applegate, 20.07.2021, 04:12
I'm not sure I fully understand. In every test the terrain tiles that were already pinned render just fine, and my project which calls generate at runtime generates and renders the terrain as well.
The issue is that I'm unable to pin or unpin tiles in the editor, I'm not sure if the pin(blue)/unpin(red) preview outlines not showing is a symptom or a cause.
Wraith, 22.07.2021, 20:20
Let me clarify - the tile outlines appear, the locks are seen, but terrain is not visible? If so - then the issue is in terrain shader. If not - could you please make a screenshot?
Wraith, 26.07.2021, 23:33
Thanks for the screen shot.

Forgot to mention - in some cases resetting the layout might help. However it happens mostly on two-monitor configurations, and according to the screen you have only one. But still worth trying.
Christopher Applegate, 27.07.2021, 17:02
Thank you very much for looking into this and for the responses. I am using multiple monitors so that could have been part of it.

Somehow the problem resolved itself in my main project before I saw this response.
The last thing I was working on was lighting and adjusted many different settings.

Leave a comment