[ImmediateMode] Doesn't appear to work at all in URP following documentation

Avatar
  • updated
  • Planned

Hello!

Trying out shapes for the first time (and URP!), and immediate mode doesn't appear to be working, fresh project, and using the script as-is  from https://acegikmo.com/shapes/docs/#immediate-mode

Steps below, and thanks in advance! Hopefully I'm missing something really trivial.

So... sequence of events:

1.) New URP project in unity

2.) Import Shapes package

3.) Shapes after quitting and reopening the project prompts to recompile shaders to URP (cool)

4.) Shapes prompts to open shapes settings to ensure immediate mode drawing works with URP 

Image 533

- though I can't see a setting to change from this prompt, no setting in the settings panel seems related to this dialogue box, am I missing a configuration stage at this point?

Image 534

5.) Add a script with the code from the documentation, attach to new GO in new Scene, no lines/drawing in either Play mode or Edit mode :(

Image 532

Reporting a bug? please specify Unity version:
2020.3.2f1
Reporting a bug? please specify Shapes version:
4.1.1
Reporting a bug? please specify Render Pipeline:
URP
Avatar
Freya Holmér creator
  • Planned

there's currently a bug where a nullref prevents this setup flow from behaving correctly, it will be fixed in the next update!

Avatar
Matthew Newcombe

Ah okay so I don't know "why" this didn't appear when I was testing it a couple of times for the first post, but for whatever reason, after trying this whole flow again again, now this prompt appeared - hooked up the render data and now it works fine!

Unsure why this warning didn't appear previously, but chalking it down to a "wicked can move on"