Unable to instantiate material blocks in Verse

Summary

Topic covered by official UEFN youtube channel went over how material blocks can be utilized to create reactive materials when using Verse (LINK - https://www.youtube.com/watch?v=Wr3Uob9VG1s).
However when trying to instantiate such materials (by copying the exact workflow used in the video):

ProgressBar: UI.MI_ProgressBar_Segmented = UI.MI_ProgressBar_Segmented{Progress:=0.5}

the type gives error “Expected a type, got MI_ProgressBar_Segmented instead” and value assignment gives error " Macro name must be an identifier".
Due to this none of the new ‘material blocks’ can be modified and will not be until this is fixed.

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

UI/Tools

Steps to Reproduce

  1. Create a material instance or migrate one from UI example project, provided by UEFN.
  2. Try to instantiate material block reference in the syntax specified below.

Expected Result

No errors are received, material instance can be modified freely.

Observed Result

Errors are received, outlined above. No way to take advantage of new material blocks.

Platform(s)

PC, UEFN

Bumping this - has someone managed to get it working?
Perhaps I’m doing something wrong or the functionality would be available at a later date?

1 Like

Having the same issue.

Got it working in my project…

need to add _material to the type as in the digest. In the verse ui vid released he does not do this. I don’t know how it worked for Derek.

_material suffix is a change after scene graph

If your project have scenegraph material, the assets will have _material prefix, if scenegraph is not enabled on your project, you don’t need to use _material prefix.

This is due the assets having two formats now: “base asset” and “class with properties”, with different usages for each.

1 Like