Search Unity

  1. We're looking for feedback on Unity Starter Kits! Let us know what you’d like.
    Dismiss Notice
  2. Unity 2017.2 beta is now available for download.
    Dismiss Notice
  3. Unity 2017.1 is now released.
    Dismiss Notice
  4. Introducing the Unity Essentials Packs! Find out more.
    Dismiss Notice
  5. Check out all the fixes for 5.6 on the patch releases page.
    Dismiss Notice
  6. Help us improve the editor usability and artist workflows. Join our discussion to provide your feedback.
    Dismiss Notice

Got an error when building AssetBundles. "Target platform mismatch"

Discussion in 'Editor & General Support' started by zeno-zhang, Jun 14, 2017.

  1. zeno-zhang

    zeno-zhang

    Joined:
    Jun 14, 2017
    Posts:
    2
    Hi
    I got error when building AssetBundles.

    1. Pop up error window appears:
    "Build failure
    Internal error: Target platform mismatch"

    2. Errors in console are thrown:
    2.1. Menu Edit/Graphics Emulation/OpenGL ES 3.0 can't be checked because it doesn't exist
    UnityEditor.BuildPipeline:BuildAssetBundles(String, BuildAssetBundleOptions, BuildTarget)
    CreateAssetBundles:BuildAllAssetBundles() (at Assets/Editor/CreateAssetBundles.cs:9)

    2.2. Error building Player: UnityException: Build failure
    Internal error: Target platform mismatch

    Unity version
    5.6.0f3
    5.6.1f1

    Would anyone kindly tell me how to solve this?
    Thank you very much.

    Regards,
     
  2. zeno-zhang

    zeno-zhang

    Joined:
    Jun 14, 2017
    Posts:
    2
    Solved.

    For anyone who meets the same problem.
    I just uninstalled unity, and reinstalled it again.
    And the problem is gone.

    But I don't catch the reason.

    Thank you to anyone who payed attention to this thread.