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.
- [Solved] The method getContextPath() from the type HttpServletRequest refers to the missing type String
- Error from server (BadRequest): a container name must be specified for pod
- [Solved] Compilation error: dereferencing pointer to incomplete type…
- [Solved] error LNK2038: Detected mismatch of “RuntimeLibrary”: The value “MDd_DynamicDebug” does not match the value “MTd_StaticDebug”
- Go Slice Error: panic:runtime error:index out of range  with length 0 [Solved]
- Libtorch Error: Expected object of type Variable but found type CUDALongType for argument #2 ‘index’
- [Solved] CCS compilation and debug error: Source lookup: unable to restore CPU specific source container – expecting valid source container id value.
- [Solved] error: external/googletest/googletest: MODULE.TARGET.STATIC_LIBRARIES.libgtest already defined
- MAC: How to modify the docker container error [screen is terminating]
- [Solved] Go language gob serialization pointer cannot be addressed Error
- [Solved] eclipse Error: Error:A JNI error has occurred, please check your installation and try again
- How to Solve Kafka Error: no leader
- GO Exception Runnerw.exe: CreateProcess failed with error 21
- [Solved] Fabric 2.x: error starting container: API error (404): network_test not found
- IDEA: Cannot find keymap “windows copy error” appears?
- Eclipse Tomcat Error creating bean with name ‘sqlSessionFactory’ defined in URL…
- How to Solve null/hadoopbinary/wintils.exe Error
- How to Solve Keil Error: error: #29: expected an expression
- [Solved] – npm run dev Error: listen EADDRINUSE: address already in use :::8000(or 8080 etc.)