Hur kan vi hjälpa dig idag?

Unity Pro : Use of operation on index in INC or DEC function causes a Build error

Goals and Symptoms

When building an application using operation on index in INC or DEC function the build fails with following error message : error during the ARM assembler phase
Code generation failure

Example:  INC(my_array[ind*3+1]);

The problem is in Unity Pro V8.0 to V11.0.

Causes and Fixes:
The workaround consits to program the operation outside the function.

Example :
Ind1 :=ind*3+1 ;INC(my_array[ind1]);

Schneider Electric Sverige

Utforska mer

Utforska mer

Behöver du hjälp?

Produktväljare

Hitta snabbt och enkelt rätt produkter och tillbehör för dina ändamål.

Begär en offert

Ställ din fråga online så kontaktar vi dig.

Här köper du

Hitta enkelt närmaste Schneider Electric-distributör på din ort.

Hjälpcenter

Hitta alla supportresurser som du behöver på ett ställe.