- Home /
How can I dynamically load a substance?
How can I load a substance with Resources.Load()? Neither loading the Substance Archive nor loading the contained material instance directly seem to work. The result is a null object. That's how i try to load the substance:
ProceduralMaterial substance = Resources.Load(path) as ProceduralMaterial;
Comment
Answer by AngryMarine · Aug 31, 2011 at 07:10 AM
Whatever you are loading needs to be in resources folder or subfolder. Not an external folder. Should work after that.
Your answer
![](https://koobas.hobune.stream/wayback/20220612161220im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to load asset bundles already loaded? 0 Answers
Asset wont load 0 Answers
Is it possible to use local Addressable Assets for a WebGL game? 0 Answers
Alternatives to Resources.Load or Refining that command 1 Answer
Memory Locking While Loading Issue 0 Answers