Error when packaging
Hello there, when i try to package my game i get a strange error, i've never seen and i dont know how to fix:
I dont see anyone else on the internet getting this error. Can anyone help me? Thank you, Marc
(comments are locked)
|
Hi! I encountered this issue today, and fixed it about 5 minutes ago, so my solution is fresh and will probably work for everyone. Although for those who do not have coding knowledge, I feel sorry, because I don't see any other way to properly track it down without debugger attached. So:
It's possible to fix that without compiler, but UE callstack doesn't give you any info about what asset and variable this is all about. So tracking down which asset causes that might take much longer. I could find and fix the problem very easily thanks to your advice! Hi there, I don't have much experience in debugging with Visual Studio, but I tried your method. I was successfully able to invoke an error when the editor hit 93% loading. However for the variable Fproperty I couldn't identify the variable name (see image attached). Is there somewhere else I need to look? Many thanks for your help. At there, open FField by clicking small triangle like this: Thanks for your answer. Unfortunately couldn't see it that way. Wonder why, also 4.26, VS 2019. In the end I made a list of every variable I thought I had created since last successful build and started deleting and re-creating those. By dumb luck it was the second one I did. Hi!! I have tried the same thing however in my case the VS won't show the owner: You should try with engine build from source code. Check this : https://docs.unrealengine.com/en-US/ProductionPipelines/DevelopmentSetup/BuildingUnrealEngine/index.html Building engine from source may takes very long time. In my case, with old hdd, it takes over 10 hours... And, You should debug with backup copy of your project. If you open and save with differrernt engine version, you may not be able to open the project with launcher version engine. How do I open UE4 with debugger attached?
(comments are locked)
|
I had the same error. In my case it was missing calling "super" methods in overrided members of component.
Adding these lines solved my problem.
(comments are locked)
|
In blueprints I had a similar error message with the soft object path, but mine was saying:
Then I made a backup of my project and deleted every blueprint one by one to find out which one was causing the problem. Once I found out which one it was, I started deleting parts of the code until I pinpointed my problem. The issue got caused when I duplicated an actor reference variable and then changed it to another actor. So, I deleted that variable and created it from scratch and the problem was solved. I'm not sure why that would happen because no error was given and it runs fine in the editor. Anyways, I thought I would share that just incase someone has a similar issue.
(comments are locked)
|
Follow this question
Once you sign in you will be able to subscribe for any updates here
How do i find the file causing the error? Thanks in advance
New update, i found the file in question. For my weapon system i wrote an attachment system, where before i had defined an attachment as a struct with appropriate data and then decide in weapon class what to do. To streamline this and make Attachments able to be picked up by the player, i have changed the Attachment system to a struct of class references, where every new Attachment is a new class deriving from Attachment_Base class. This does not work for some reason. Why can't i store classes in a struct?
Can someone help me on this? Thanks