This issue has been closed as 'Won't Fix' due to an extended period of time without updates. If this issue is important to you please let us know by posting on the AnswerHub or UDN, and Epic will re-open the ticket for further review.
MaterialInterface which is a base class for other classes (such as UMaterialInstanceDynamic) is not being exported which causes compiler errors when a user attempts to access the functions of this class. Specifically, GetWidth and GetHeight are having this issue.
1. Create a new project
2. Add a C++ class of the type Actor
3. Below "virtual void Tick( float DeltaSeconds ) override;" (Line 21) in MyActor.h, add "UMaterialInstanceDynamic* DynamicInstance;"
4. Below "PrimaryActorTick.bCanEverTick = true;" (Line 11) in MyActor.cpp add "DynamicInstance = CreateDefaultSubobject<UMaterialInstanceDynamic>(TEXT("DynamicInstance"));"
5. Below "Super::BeginPlay(); (Line 18) in MyActor.cpp add "Height = DynamicInstance->GetHeight();"
6. Attempt to compile the project
Result: Compiler errors are given due to the function in step 5 not being accessible
Expected: The compiling should complete without any errors
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Installer 4.10 failed with error code R-1603
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
Head over to the existing Questions & Answers thread and let us know what's up.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.7.6, 4.14 |
Created | Jun 9, 2015 |
---|---|
Resolved | Feb 17, 2017 |
Updated | Apr 27, 2018 |