How can we help you today?

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 United Arab Emirates

Explore more
Range:
Users group

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.
Explore more
Range:

Need help?

Need help?

Product Selector

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Get a Quote

Start your sales enquiry online and an expert will connect with you.

Where to buy?

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Help Centre

Find support resources for all your needs, in one place.

  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Find our Offices
  • Get a Quote
  • Where to buy
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Privacy Policy
  • Cookie Notice
  • Change your cookie settings