Skip to content

unity_versions.rb:70 can't modify frozen String: "" #429

@chazix

Description

@chazix

Issue Checklist

  • [x ] I'm using the latest u3d version
  • [x ] I ran u3d --help
  • [x ] I read the README
  • [x ] I made sure that a similar issue doesn't exit

Issue Description

  • installed latest u3d @ 1.3.2 on Ubuntu 18.04
  • attempted to run: u3d available --no-central --trace on ruby 2.5.1p57
  • receiving callstack failure:
u3d available --no-central --trace
Cache is out of date. Updating cache for Linux
Loading Unity releases
/usr/share/rvm/gems/ruby-3.1.2/gems/u3d-1.3.2/lib/u3d/unity_versions.rb:70:in `block (2 levels) in fetch_cookie': can't modify frozen String: "" (FrozenError)
        from /usr/share/rvm/gems/ruby-3.1.2/gems/u3d-1.3.2/lib/u3d/unity_versions.rb:69:in `each'
        from /usr/share/rvm/gems/ruby-3.1.2/gems/u3d-1.3.2/lib/u3d/unity_versions.rb:69:in `block in fetch_cookie'
  • upgraded to ruby 3.1.2 & reinstalled u3d, receiving same error
  • Also tried without --no-central produces same results

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions