I have a container and a book type defined in CK, each with own custom script.
Then I have a quest with two ReferenceAliases using "Fill type"-"Create reference to object": one trys to create a sayd container "At" Player, the other one a book "In" Player (inventory)
Now, from where I called start() for that quest I call getReference() on those aliases and try to cast them to the script I put on each to call a method of mine.
With what I described here the cast for the book returns None and checking with Debug.Notification(XXXAlias.getReference()) without a cast the book is displayed as "[ObjectReference" but the container is displayed as "[MYContainerScript"
But the strangest part is still to come: I go to the aliases tab supposing "In" is to blame and change it to "At" for the book. Now the book is printed as "[MyBookScript" BUT the container is "[ObjectReference" and can't be casted. And I didn't touch the container alias, nor the aliases order, nor the notifications, the only change I made was "In"->"At" just for the book alias.
Objects are definitly created, quest runs well, even text replacement on both of their names works. More than that when the book can't be casted (the "In" version) the onRead() notification from my custom script works if i click on it in the inventory.
Please people tell me if have you seen something like this. Please someone test it cause I'm leaving for the weekend and won't have the CK till Monday, but can access the forum. If I'm not insane now I'll be till then thinking of this if I get no answer here.