Page 1 of 1

[kovarex] [1.0.0] Crash: cursorAdapter.getBlueprintItem() && !cursorAdapter.getSingleBlueprintRecord() was not true

Posted: Sun Sep 27, 2020 6:29 pm
by willr001
I did something a bit weird and crashed the game. I had a blueprint in a book in my library and opened the edit window for it then hit the select new blueprint contents (blue button) instead of copying the blueprint as I intended. Thinking I'd made a copy, instead of selecting new contents for the blueprint, I opened my blueprint book from the blueprint library and placed whatever the "select new contents" blueprint cursor thingy is into my blueprint book (it had the icon of an empty blueprint). I then realized my mistake, picked up the blueprint-but-not-a-blueprint and it crashed the game client either upon hovering over the ground, trying to place the empty blueprint on the ground, or hitting the key to empty the cursor (don't remember which, sorry). At the time of the crash, my mouse cursor was the cross to select a region.

Log files attached.

Re: [1.0.0] Crash: cursorAdapter.getBlueprintItem() && !cursorAdapter.getSingleBlueprintRecord() was not true

Posted: Sun Sep 27, 2020 6:35 pm
by Loewchen
Can you reproduce the crash following those steps?

Re: [1.0.0] Crash: cursorAdapter.getBlueprintItem() && !cursorAdapter.getSingleBlueprintRecord() was not true

Posted: Sun Sep 27, 2020 11:31 pm
by ickputzdirwech
I can confirm this. The steps provided by the OP result in a hard crash (last step must be left-click, pressing Q doesn't result in a crash).

Re: [kovarex] [1.0.0] Crash: cursorAdapter.getBlueprintItem() && !cursorAdapter.getSingleBlueprintRecord() was not true

Posted: Tue Sep 29, 2020 10:50 pm
by kovarex
Thanks for the report, it is fixed for the 1.1

Now, it will properly cancel the assignment state and roll-back back to the opened blueprint whenever you tried to put the item somewhere. (It worked for putting the item to inventory, but not for putting it to bp library).