"Entity Ref not found" False Positive??

Hey,

So I have this mod I'm making, and the game is minidumping on launch with an "Entity Ref not found" error.  But the entity that it says is "not found" is definitely in the GameInfo folder, and is definitely in the entity.manifest file.  I also updated the entityNameCount in the manifest, and it is definitely correct.  I have checked all spelling almost a dozen times, and that is also definitely correct.

Why is SoaSE telling me the entity is "not found" when it is definitely there and plugged in correctly??

5,365 views 6 replies
Reply #1 Top

did you add the enitity to the player info file?

 

Reply #2 Top

Quoting -Ue_Carbon, reply 1
did you add the enitity to the player info file?

 
End of -Ue_Carbon's quote

What exactly is the player info file?  And incidentally, I probably added 100 entities, and only one of them has this problem.

Reply #3 Top

This is one of those weird kinds of errors the main thing to check for would be a misreferenced file in say a ResearchPreRequisite for example you must enter:

RESEARCH_SUBJECT_FILE
NOT:
RESEARCH_SUBJECT_FILE.entity

There are many situations where this can occur the research one is just the one that pops in to my head right now, best thing to do is make sure that all the files are referenced properly within the other files. Looking up the file may not be the issue. Use the Dev.exe launch it and see if tells you which file is mis-referencing.

Without any more information on what you're doing thats about as much help as I can offer :P

Reply #4 Top

Quoting Nacey, reply 3
This is one of those weird kinds of errors the main thing to check for would be a misreferenced file in say a ResearchPreRequisite for example you must enter:

RESEARCH_SUBJECT_FILE
NOT:
RESEARCH_SUBJECT_FILE.entity

There are many situations where this can occur the research one is just the one that pops in to my head right now, best thing to do is make sure that all the files are referenced properly within the other files. Looking up the file may not be the issue. Use the Dev.exe launch it and see if tells you which file is mis-referencing.

Without any more information on what you're doing thats about as much help as I can offer
End of Nacey's quote

In this particular instance, it actually is a research subject that has the problem.  I created a new starbase for a new player race, and I created a new entity for the trade port starbase research:  RESEARCHSUBJECT_STARBASEUPGRADEACCESS_TRADEPORTOVERLORD.entity

I checked all of the files that reference this entity, and they all appear to be formatted correctly.  I did use the Dev.exe, and it says "Entity Ref not found: RESEARCHSUBJECT_STARBASEUPGRADEACCESS_TRADEPORTOVERLORD".  Then the Dev.exe minidumps and crashes.

Let me know if there is any other information that would help...

Reply #5 Top

I am an idiot.

Turns out that the problem was in the Player entity for the new race.  The entity in question didn't have a quote at the end, and thus the reference was considered "incorrect."  I was so busy watching spelling that I missed the punctuation!  :blush:

Problem solved, though...

Reply #6 Top

Glad you solved the problem mate, gotta be very careful with formatting and ofcourse using the correct punctuation everywhere. I almost had a similar issue not long back where I was mass copy & pasting information around and ended up with the start of a string at the end of another line which could've caused a similar issue.