Crafting and Vendor Error after Update on UCC/UIS Integration

jkaczmar

Member
I'm getting errors in both the UCC/UIS integration demo and my game which uses the integration. It can't find the Shop Menu or Crafting Menu anymore when I try to interact with the vendor or crafting tables. I'm sure it's a small pointer related thing in both cases but I can't find the error. Here's the error message for both:Integration Error Message.png
 
Have you imported the sample scenes from both the character controller and inventory system? Also, the integration was updated with version 3.2 so make sure you grab the latest.
 
I have re-imported everything including what I assume would be the updated integration pack as I pulled it off the website in the last day or so. One thing I found when I went into the UIS only demo (with the cartoony characters) is that the same errors are happening, including with the Storage Menu item on the Inventory Canvas which I'm not using yet in my code. It seems to be more related to the UIS stock Inventory System Canvas than to the integration between UCC and UIS. Here is a screenshot showing the same issues with the UIS only demo with none of my code attached and UCC removed from the picture. This is the latest demo code rinvetory system canvas error.png
 
Another piece of information to help figure this out...I installed a fresh UIS 1.3 with nothing else in a separate project and the errors don't appear. Hopefully that helps identify a setting that did/didn't get upgraded correctly as it would be very tough to rebuild from scratch. I'll keep playing around with UI designer as well as some other ideas to see if I can tweak it, but any guidance on areas to investigate would be much appreciated.
 
Have you imported the sample scenes from both the character controller and inventory system? Also, the integration was updated with version 3.2 so make sure you grab the latest.
I have a few notes above, but here's what I've tried over the course of the day without success:

  1. Manually confirming the Inventory Canvas components are the same compared to my preupgrade. I was pretty exhaustive, and I think everything matches.
  2. Erasing my Inventory Canvas and creating a new one using my custom inventory schema and then repointing stores and crafting tables at this. No luck.
  3. Erasing my Inventory Canvas and creating a generic Classic schema with little to no configuration. When I point the store and crafting tables at this very basic schema, it still can't identify Shop Menu or Crafting Menu for some reason.
  4. I've tried directly linking the shopmenu item rather than using the "Shop Menu" reference word.
  5. No luck with any of these but the base integration definitely works. My main integrated UCC/UIS inventory works fine and I can use armor, weapons, etc. that are defined in UIS.

Any other ideas on places to check? I guess my next step would be to do a basic upgrade from my saved preupgrade project in the following order:

  1. Upgrade UCC
  2. Upgrade UIS
  3. Apply the Updated Integration pack.
  4. Check results.

Not my first choice, but it would at least give another data point. Thanks for any ideas you have.
 
I've tested the integration in a new project and had no issues. So the issue must be specific to your project.

Just to be clear.
Before upgrading UCC and UIS you made sure to delete ALL the Assets/Opsive folder right?
Did you perhaps modify some of the Opsive demo prefabs and moved them to your own folders before doing the upgrade?

My first impression from your errors is that you have conflicting guids from previous install lurking for certain prefabs which cause the import to not work properly and then the wrong prefab is being used in the demos.

When importing the UIS demo do you get any warnings about conflicting guids?


On another note. Always check the first error in the console. Following errors could have been caused by the first one breaking the execution mid-way.

From your screenshot I see something about IconItemView.
Try to find what gameobject this happens on. It seems it's missing a reference to the image.
If you have trouble finding what gameobject is it add a Debug.Log(gameObject); before the line 50 where the error happens

I hope that helps identify the problematic prefab
 
I've tested the integration in a new project and had no issues. So the issue must be specific to your project.

Just to be clear.
Before upgrading UCC and UIS you made sure to delete ALL the Assets/Opsive folder right?
Did you perhaps modify some of the Opsive demo prefabs and moved them to your own folders before doing the upgrade?

My first impression from your errors is that you have conflicting guids from previous install lurking for certain prefabs which cause the import to not work properly and then the wrong prefab is being used in the demos.

When importing the UIS demo do you get any warnings about conflicting guids?


On another note. Always check the first error in the console. Following errors could have been caused by the first one breaking the execution mid-way.

From your screenshot I see something about IconItemView.
Try to find what gameobject this happens on. It seems it's missing a reference to the image.
If you have trouble finding what gameobject is it add a Debug.Log(gameObject); before the line 50 where the error happens

I hope that helps identify the problematic prefab
There were definitely some issues with guids, but I don't think that was the underlying problem. Couldn't figure it out. Decided to rebuild the project from scratch with export/import of stuff that was relatively clean. Pain in the neck, and a couple days of extra work, but worth it in the long run as I'm still learning the platform, and another pass through to configure stuff will solidify the process in my brain. Also worth it to do it now for future upgrades and integration with BD pro. Thanks for the help.
 
Back
Top