Forum begins after the advertisement:
[Part 10] Issues with getting the Level up menu to work
Home › Forums › Video Game Tutorial Series › Creating a Rogue-like Shoot-em Up in Unity › [Part 10] Issues with getting the Level up menu to work
- This topic has 6 replies, 3 voices, and was last updated 3 weeks, 2 days ago by
Yomi.
-
AuthorPosts
-
April 30, 2026 at 1:24 am #19449::
Ive been trying to set up the level up menu for some time now but. I was finally able to get the menu to display after leveling up, but now I dont know how make it show the passive items, name and description in the container. That in turn makes it impossible to use the buttons to apply passives. For what its worth, the only thing I can think of that might be the issue is the prefabs for the passive items or the passive item scriptable objects.
May 1, 2026 at 4:58 pm #19477::Hi Yomi, can you share the following?
- Script(s) which you are using to display your menu
- A screenshot of what your current menu looks like, and how you want it to look like
- Your GitHub repository. This way we can jump in and have a look at your codebase / help you directly. You can check out this video to see how to set up your project.
May 2, 2026 at 2:20 am #19478::Its using the gamemanager inventorymanager and playerstats script. It likely has more cause I messed around with it trying to fix the weapon projectile spawning ontop of other stuff. What Im trying to do is have the menu show up to 4 of the passive items of the 2 I created so far as depending on whether its in the inventory already or its current level and be able to use them since I didnt want to add weapons to the level up menu.
View post on imgur.com
May 2, 2026 at 8:23 pm #19479May 2, 2026 at 8:51 pm #19480May 3, 2026 at 4:21 am #19481::Hi Yomi, looking through your project and your problem from what I understand you’re having problem with information displaying which causes error when clicking to get passive. From what I found the reason why no information is displaying is due to your scriptable object not having any information in their respective fields.
As for the buttons not working it is cause by the Passive Item UI Slots not having any image it is referencing so the when you click the buttons it throws a error
View post on imgur.com
the first picture is the your spinach scriptable object you need to give it a name, description and icon for the level up to display something otherwise it will display nothing.
Second picture is the “Passive Item UI Slots” in the Inventory script on your player character, you need to make a image objects within your canvas so when you pick up a passive it will go display to the image.
Third and fourth are just the result after the changes, the passive icon I kind of throw middle of nowhere but it is still a image on the canvas.
May 3, 2026 at 5:31 am #19482 -
AuthorPosts
- You must be logged in to reply to this topic.
Advertisement below: