Bug with ResearchTree, Node with multiple parents is Unavailable
I found a bug in version 1.1 of my VanillaGreenHouse mod that wasn’t present before:
The middle research node ( GreenHouse, the building) doesn’t unlock when I research one of its parent nodes, except for the 3rd one 😶 .
25 Replies
If i buy the 1st, 2nd or 4th parent, the node is Unavailable.

If i buy the 3rd parent, the node is Unlocked correctly.
Maybe because it's last in the reading order idk

All the data in the blueprint and in the research editor looks correct. It was working until I moved to sml 3.11.1 ( I don't know about 3.11.0, I skipped it )
Nodes Unhide properly, the bug only affect unlocking this node at 3/3, might be because it has 4 parents
The Bug is consistent, repro multiple times, i tried to repackage, i also deleted and recreated the BP_ResearchTree
Does something changed about researchTree ?



hmm, I guess compare the structure of the nodes with a vanilla tree that implements multiple parents to find out what's going on. I think the alien organisms tree does it for example
I'm pretty sure the Sulfur tree does it too?
IIRC the logic is that any parent node unlocks it
I compared with alien organisms and nothing feels off


Also the questions marks are correct

But if I research one of the parent nodes that doesn’t unlock the node, the "Node Unavailable" message remains, but the question marks disappear.

Replicated on a new tree ( duplicated from exemple mod complex tree )

Only the 4th parent unlocks the node

i tried to move unhide condition one parent further, and it's worst

researching it unhide the node

research the next one make it unavailable

Can someone try to reproduce the bug ?
@Jarno (the Archipelago guy) have you noticed this behavior in any of the AP trees?
Have you tried making a totally new fresh tree, no duplicates?
Yes I did try from a new tree
cant say i have, but then again i didnt carefully test those since 3.11 either
still haven't had time to look into this, probably will when working on MAM Enhancer
just happened to me in my testing world with the vanilla tree

I unlocked it via vanilla research, not the cheat button
So that would make it a basegame or SML problem?
it was on a dedicated server, and even after rejoining it stayed locked. not sure
:adithinka: i didnt test it as dedicated server client, i did ask the guy in archipelago channel if it was played on a server, but he said it was localplay
Solution
can confirm that the bug happens in vanilla, no ETA on a fix though