Forum begins after the advertisement:
See discounted assets
-
Lê Participant
::I can level up old weapon normally but can’t add new weapon.
When i click on new weapon its not find Object in AddWeapon function at this line
weaponLevels[slotIndex] = weapon.weapondata.Levels
::Hi Le, do you mean that the new weapon appears in your upgrade panel when you level up, but when you click on it nothing happens?
Can you take a screenshot of your Console and show me the errors there?
Lê Participant
::Yes, but I’ve fixed it. Thank you
::What was the issue with it?
Lê Participant
::I don’t know exactly what the error is but when I placed weaponScriptableObject on top in Script Execution Order it worked properly
Lê Participant
::Thanks for the clarification Lê.
Advertisement below: