Hvordan kan vi hjælpe dig i dag?

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 Danmark

Se mere

Brug for hjælp?

Produktvælger

Find hurtigt og nemt de rette produkter og det rette tilbehør til dine anvendelser.

Få et tilbud

Start din salgsforespørgsel online, så vil du blive kontaktet af en ekspert.

Find forhandler

Find den nærmeste Schneider Electric-distributør.

Hjælpecenter

Find supportressourcer til alle dine behov på ét sted.