Background: when compiling UE4 C + + project, there are unknown structure and other errors;
After the query, it is found that after the structure defined in C + + is exposed to the blueprint, a new container is re created, including many structures. The data type of this container is defined as: allzmqdatapool
Define a new variable in gameinstance. The variable type is allzmqdatapool; Create a method to quickly get variables in common func.
The above problem occurs when packaging after compilation.
Less nonsense, the solution is as follows:
1. Directly modify the name of the structure container; After modifying the name, recompile from the C + + project, then reopen the project, package and solve it;
2. If there are only a few sporadic errors and you don’t want to change your name, you can select refresh all nodes in the blueprint of the error report through the “file” option, and then compile again, repackage and solve it;
Basically, the above two methods are easy to use.
Read More:
- [Solved] Raspberry Pi Error: AttributeError: module ‘serial‘ has no attribute ‘Serial‘
- [Solved] UE4 Error: Couldn‘t find file for package *** requested by async loading code. NameToLoad: ***
- [Solved] UE4UE5 Package Android Error: UnrealBuildTool failed
- [Solved] Error reading comm device when writing serial communication with MSComm control
- [Solved] UE4 Android Package Error: cmd.exe failed with args
- How to Solve UE Shader develop error
- [Solved] UE4 Android Package Error: failed for task :permission_library:compileDebugJavaWithJavac
- How to Solve UE5 Compile Error: Error MSB3073
- UE4 Package Pico Project Error: error: ‘Resource‘ is a private member of ‘FOpenGLTextureBase‘
- OpenCV(-206:Bad flag (parameter or structure field)) Unrecognized or unsupported array type [How to Solve]
- Error in loading latex project compilation [How to Solve]
- Error:scalac: missing or invalid dependency detected while loading class file ***
- [Solved] Docker startup container error: permission denied””: unknown.
- Yarn add package loading error: operation not permitted, unlink …
- [Solved] rqt_graph Skipped loading plugin with error & Format: “dot“ not recognized
- Solution of Vue router loading components on demand
- Prompt unknown error in pom.xml of Maven project
- [Solved] unknown error: DevToolsActivePort file doesn‘t exis
- [Solved] ERROR: Unknown host CPU architecture: arm64
- [Solved] curl error while loading shared libraries libcrypto.so.1.0.0