Forum begins after the advertisement:
-
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: