SetAttribute makes already preset attribute dissapear when trying to edit it?

  1. What do you want to achieve?
    Im not sure if this is just me problem? But does anyone have this issue as well?



  2. What is the issue?
    In images below is the code which updates the Attribute value, error it puts out and also the preset attribute with-in the instance, in game the attributes completely dissapears.

image

image

image




  1. What solutions have you tried so far?
    I have tried looking around the Dev forum, if someone has noticed or reported this bug that i am experiencing, but i cant find anything?

probable solution for this is removing the preset attribute and create it, but this feels so useless so i want to know yalls opinion on this

2 Likes

Have you tried printing out the camera object and what attributes it has?

2 Likes

i fixed the issue already, i realized that im deleting the camera with the set Cam_ID attribute before setting the value to the new camera part. lol

3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.