vegapnk / RJW-Genes

Rimworld Biotech Genes related to RJW
MIT License
27 stars 33 forks source link

chemical gene it doesn't work when was use by some previous xenotype #117

Closed taotaojzt closed 1 month ago

taotaojzt commented 1 month ago
Could not load UnityEngine.Texture2D at UI/Icons/Genes/Chemicals/HormonalSerum/AddictionResistant in any active mod or in base resources.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Verse.Log:Error (string)
Verse.ContentFinder`1<UnityEngine.Texture2D>:Get (string,bool)
Verse.GeneDef:get_Icon ()
Verse.Widgets:DefIcon (UnityEngine.Rect,Verse.Def,Verse.ThingDef,single,Verse.ThingStyleDef,bool,System.Nullable`1<UnityEngine.Color>,UnityEngine.Material,System.Nullable`1<int>)
RimWorld.GeneUIUtility:DrawGeneBasics (Verse.GeneDef,UnityEngine.Rect,RimWorld.GeneType,bool,bool,bool)
RimWorld.GeneUIUtility:DrawGeneDef (Verse.GeneDef,UnityEngine.Rect,RimWorld.GeneType,System.Func`1<string>,bool,bool,bool)
f:b (Verse.GeneDef,bool,single&,single,single,UnityEngine.Rect,bool)
f:b (UnityEngine.Rect,System.Collections.Generic.List`1<Verse.GeneDef>,string,single&,single&,bool,UnityEngine.Rect,System.Nullable`1<bool>&)
f:DrawGenes (UnityEngine.Rect)
RimWorld.GeneCreationDialogBase:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
vegapnk commented 1 month ago

Hi @taotaojzt , thanks for your report. I think I know what you mean here, and I think I have the same issue. This happens when you scroll down the Genes to bottom?

Can you do me one favour and try to load your game without RJW-Genes (but Licentialabs) and see if it still appears?

taotaojzt commented 1 month ago

i had been tied it ,when i remove RJW-gene, the chemical and alcohol gene still work,but when i created some new xenotype and it work(already active RJW gene),and other hand,it also work with me take many chemical gene alone,but when i bring more other gene it will disable(such as 40 genes), it strange,hope you can fix this bug soon:-)

taotaojzt commented 1 month ago

Hi @taotaojzt , thanks for your report. I think I know what you mean here, and I think I have the same issue. This happens when you scroll down the Genes to bottom?

Can you do me one favour and try to load your game without RJW-Genes (but Licentialabs) and see if it still appears?

yes it work now

taotaojzt commented 1 month ago

yes, when i scroll down to bottom not just chemical gene disappear ,also some gene on bottom disappear with them

vegapnk commented 1 month ago

@taotaojzt

image

Does it look like this for you ?

I do the following to get to this screen:

  1. Start a new Colony
  2. Click further until you see colonists
  3. edit xenotype
  4. scroll down to dependencies
taotaojzt commented 1 month ago

image

taotaojzt commented 1 month ago

image

vegapnk commented 1 month ago

I am not 100% sure what your problem is, to be honest.

If you get an error for the chemicals (your initial issue) once your scroll over them (my screenshot), that is not from my mod. I have the same error without my mod.

The thing that is happening here is that the dependency genes (and immunity) are auto-generated for any drug. The licentia hormonal serum is a drug, but licentia does currently not provide images for the generated things. I could fix it, but if that is the (only) issue, it's not from RJW-Genes

taotaojzt commented 1 month ago

I am not 100% sure what your problem is, to be honest.

If you get an error for the chemicals (your initial issue) once your scroll over them (my screenshot), that is not from my mod. I have the same error without my mod.

The thing that is happening here is that the dependency genes (and immunity) are auto-generated for any drug. The licentia hormonal serum is a drug, but licentia does currently not provide images for the generated things. I could fix it, but if that is the (only) issue, it's not from RJW-Genes

huh,sorry to disturb you,it must be something Incompatible with rjw-gene and i don't know why

taotaojzt commented 1 month ago

ok fix them, in the end this happen make me like a joker,it just outdate version and i rewrite version and i forget it, so sorry to waste your time