Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by hiperbou · Dec 06, 2016 at 08:08 PM · bugadsil2cppadvertising

Using Advertisement crashes with Android build with IL2CPP on Unity 5.5.0f3

Using Unity 5.5.0f3 it's not possible to build a project with the Unity Ads Service with IL2CPP on Android.

Create a new project, enable Unity Ads Service. Attack the Simple code sample script to the camera on the default scene. Save and select IL2CPP as Scripting backend on player settings. Try to build... and you'll get an: Exception: C:\Program Files\Unity\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!

It also fails to build on Cloud Build.

 5495: [Unity] Exception: /UNITY_PATH/Unity/Unity-5_5_0f3/Unity.app/Contents/il2cpp/build/il2cpp.exe did not run properly!
 5496: [Unity]   at UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in <filename unknown>:0 
 5497: [Unity]   at UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) [0x00000] in <filename unknown>:0 
 5498: [Unity]   at UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) [0x00000] in <filename unknown>:0 
 5499: [Unity]   at UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args) [0x00000] in <filename unknown>:0 
 5500: [Unity] UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, String, BuildTarget, BuildOptions, Boolean)
 5501: [Unity] UnityEditor.CloudBuild.Builder:Build()
Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image JoshPeterson · Dec 07, 2016 at 12:52 PM 0
Share

There may be more information later in the Editor.log file after this message. Can you provide that information as well? That might help us track down the cause of the issue. Additionally, if you can submit this project with a bug report, we can have a look at it here.

avatar image hiperbou JoshPeterson · Dec 07, 2016 at 02:22 PM 0
Share

Thanks, I've submitted a bug repot with the clean project.

avatar image JoshPeterson hiperbou · Dec 08, 2016 at 01:22 PM 0
Share

Thanks! As it turns out, we had another bug report on this already that I was unaware of. We're working on a fix now, so something should be ready in an upco$$anonymous$$g patch release.

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by JoshPeterson · Dec 08, 2016 at 01:22 PM

It turns out this is a bug in 5.5. As a work around though, you may want to use the Asset Store Unity Ads integration, since it does not suffer from this bug. you can find instructions about how to do that there:

http://unityads.unity3d.com/help/monetization/2.0-upgrade-guide-unity

But instead of disabling the service, the service should be left enabled and the extension should be disabled under the Advanced section of Ads in the Services window. This way the Ads service flag remains enabled, and the extension won't conflict with the asset package.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

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

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Playable Ad bug 0 Answers

Exception: Il2cp did not run properly. 2 Answers

Integrating AdColony into MoPub 0 Answers

Can I use Unity Ads on a certain game? 1 Answer

Unity Failed running IL2CPP when build on Nintendo Switch 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges