Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

BVR error while executing gem

Discussion in 'Unity Build Automation' started by DoomFerret, Dec 22, 2020.

  1. DoomFerret

    DoomFerret

    Joined:
    Dec 6, 2017
    Posts:
    2
    Cloud Build started failing this afternoon. I have been troubleshooting a bug in a mobile build that I can't reproduce in the Editor. I restored an earlier commit via Unity Collaborate, and built once successfully, then the next commit failed to build twice.

    Unity version: 2018.4.30f1
    XCode version: 12.2.0
    Source control: Unity Collaborate
    Local build platform: iOS

    Build target: Target named "Default iOS 2018.4 Latest Ad-Hoc Distribution" which I started manually by choosing Clean Build.

    Relevant plugins being used: none
    Project name: A Xmas Camel

    Build log (relevant chunk):
    Code (CSharp):
    1. 28: ERROR:  While executing gem ... (NoMethodError)
    2. 29:     undefined method `satisfied_by?' for nil:NilClass
    3. 30: Retries exhausted
    4. 31: ERROR: Requested BVR version not available.
    5. 32: Build failed. Please check the log for further details.
    6. 33: Using /BUILD_PATH/.rvm/gems/ruby-2.4.2
    7. 34: Finished: FAILURE
    Does it build locally from a fresh checkout? It builds locally in Unity 2018.4.29f1
     
  2. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    This should be resolved now, we had a temporary outage due to one of our dependencies pushing out a broken version but I was able to lock us to an earlier version and am now creating a workaround.
     
  3. DoomFerret

    DoomFerret

    Joined:
    Dec 6, 2017
    Posts:
    2
    Awesome, thanks for the fix! I see that some builds I had queued up have succeeded.
     
  4. midhapulkit28

    midhapulkit28

    Joined:
    Jan 18, 2019
    Posts:
    9
    Same thing I experienced last night with my unity cloud build. Please help me what to do I'm having a deadline on my head.
     
  5. victorw

    victorw

    Unity Technologies

    Joined:
    Sep 14, 2016
    Posts:
    459
    How recently did you run your builds? If you started them before I posted in this thread then it's not surprising but if you are still experiencing them now then please submit a support ticket.
     
  6. DwinTeimlon

    DwinTeimlon

    Joined:
    Feb 25, 2016
    Posts:
    296
    Having a similar issue right now. It did work a few days ago with the exact same setup.

    upload_2021-3-4_18-21-20.png

    Any idea what is up?
     
    dirty-rectangle likes this.
  7. St-Aaron

    St-Aaron

    Joined:
    Oct 7, 2020
    Posts:
    11
    Experiencing the exact same issue here. Builds started failing about 2hours ago.
     
  8. mayeager22

    mayeager22

    Joined:
    Dec 4, 2019
    Posts:
    10
    I started having this issue today as well.

    1: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.6.6.gem:
    2: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.6.6.gem:
    3: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.6.6.gem:
    4: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.6.6.gem:
    5: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.6.6.gem:
    6: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.6.6.gem:
    7: ERROR: Requested BVR version not available.
    8: Finished: FAILURE
     
  9. DwinTeimlon

    DwinTeimlon

    Joined:
    Feb 25, 2016
    Posts:
    296
    The problem seems to be solved now.
     
  10. EdMusayelyan_StarkGames

    EdMusayelyan_StarkGames

    Joined:
    Apr 7, 2021
    Posts:
    2
    I’ve tried get cloud build for iOS few times, each time was failed with error:


    1: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    2: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    3: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    4: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    5: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    6: ERROR: Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    7: ERROR: Requested BVR version not available.
    8: Finished: FAILURE
     
    Last edited: Jan 6, 2022
    mayo_cl and looytroop like this.
  11. looytroop

    looytroop

    Joined:
    Jun 22, 2017
    Posts:
    63
    Same thing here for Mac Desktop Universal (Mac OSX):

    Code (CSharp):
    1. 1: ERROR:  Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    2. 2: ERROR:  Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    3. 3: ERROR:  Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    4. 4: ERROR:  Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    5. 5: ERROR:  Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    6. 6: ERROR:  Error installing /UNITY_PATH/Unity/ruby/gems/bvr-3.7.31.gem:
    7. 7: ERROR: Requested BVR version not available.
    8. 8: Finished: FAILURE
     
    mayo_cl likes this.
  12. bfox

    bfox

    Joined:
    Jun 30, 2014
    Posts:
    21
    same problem in cloud builds
     
  13. EdMusayelyan_StarkGames

    EdMusayelyan_StarkGames

    Joined:
    Apr 7, 2021
    Posts:
    2
    You can try again. They have fixed this issue tomorrow.
     
    looytroop likes this.
  14. looytroop

    looytroop

    Joined:
    Jun 22, 2017
    Posts:
    63
    Seems to work well now!