Bug SetObjectMaterialText.
#1

Hi all,

SetObjectMaterialText has error, when written more than 15 times on the same object SetObjectMaterialText stops working. in order
Reply
#2

post code? what do u mean "in order"
Reply
#3

You need to destroy your object and re-create it each update.
Reply
#4

Could you explain yourself a little better? not quite sure I understand.
Reply
#5

I already explained "You need to destroy your object and re-create it each update" there is nothing else he needs to explain I've seen this bug before basically if you update your objects text with SetObjectMaterialText() more than 15 times without destroying/creating the object it will stop updating.
Reply
#6

Yeah, after 16-th change materials, object must be recreated. Also I found one more bug: you can't change materials with layer index > 15.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)