x


Error Building Player using Strip Assemblies

When I disable stripping optimization, my project builds without a problem, but when I give the option strip assemblies, Unity gives out an error that looks like this.

Error building Player: UnityException: Failed AOT cross compiler: /Applications/Unity3006/Unity.app/Contents/BuildTargetTools/iPhonePlayer/mono-xcompiler --aot=full,asmonly,nodebug,ficall,static,outfile="Assembly-CSharp.dll.s" "Assembly-CSharp.dll" current dir : /Users/{user}/{project}/Temp/StagingArea/Data/Managed std=

output:

Mono Ahead of Time compiler - compiling assembly /Users/{user}/{project}/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll * Assertion at class.c:4251, condition `class' not met

result file exists: False

UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

I have no idea what that failed assertion means. Any help would be greatly appreciated.

more ▼

asked Sep 08 '10 at 06:08 AM

Kijun gravatar image

Kijun
98 14 14 24

Use a different level of stripping or don't use it at all seeing as you're getting errors as it means you're using the libraries you're removing (obv)

Sep 08 '10 at 10:09 AM spinaljack
(comments are locked)
10|3000 characters needed characters left

2 answers: sort oldest

bump, this would be nice to have a solution for

more ▼

answered Nov 17 '11 at 06:26 PM

pbneck gravatar image

pbneck
1

(comments are locked)
10|3000 characters needed characters left

bump, this would be nice to have figured out

more ▼

answered Nov 17 '11 at 06:27 PM

pbneck gravatar image

pbneck
1

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x660
x472
x122
x72

asked: Sep 08 '10 at 06:08 AM

Seen: 1812 times

Last Updated: Nov 17 '11 at 06:27 PM