Search Unity

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.
     
  3. jekosto

    jekosto

    Joined:
    Apr 11, 2015
    Posts:
    1
    Thanks