The HillTree_02 mesh from the Open World Demo collection has a shader compile error.

The user pointing the issue out is reporting a freeze whenever he attempts to use the asset. I provided a workaround by converting the constant vectors to 3vectors, which resolved the compile issue.

I believe the freezing is due to the users amount of RAM, but upon initial load the asset does take a fair amount of time to load into memory. Also something interesting to note, which I have highlighted in the screenshots. It does not appear the mesh in question has a valid Source File location. All the other assets from this sample do have a Source File. Perhaps this could be causing some issues as well.

Steps to Reproduce

1. Create new project and add the Open World Demo Collection content to your project.
2. Open the HillTree_02 mesh.
3. Open the M_CustomDepthBillboard parent material.

Outcome There is a compile error "MaterialEditorStats:Error: Error [SM5] (Node TransformPosition) input must be a vector"

Expected The material compiles with no error and renders as expected.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

Login to Vote

ComponentDocs - Samples
Affects Versions4.
CreatedJan 31, 2017
ResolvedFeb 1, 2017
UpdatedJul 14, 2021
View Jira Issue