Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No editor found for version "xxx" #9

Open
xucian opened this issue Jun 28, 2022 · 5 comments
Open

No editor found for version "xxx" #9

xucian opened this issue Jun 28, 2022 · 5 comments

Comments

@xucian
Copy link

xucian commented Jun 28, 2022

Hi,

Getting this error on a self-hosted windows machine.
The Unity was installed from a previous step by the same action (I think it also failed eventually, but I didn't care at that point).
Any ideas?

2022-06-28T15:08:33.2208675Z with:
2022-06-28T15:08:33.2209778Z unity-modules: windows-il2cpp
visualstudio

2022-06-28T15:08:33.2210718Z unity-modules-child: true
2022-06-28T15:08:33.2211725Z project-path: ***
2022-06-28T15:08:33.2212868Z env:
2022-06-28T15:08:33.2213598Z PLATFORM: StandaloneWindows64
2022-06-28T15:08:33.2214397Z DBD_RELEASE_PHASE: dev
2022-06-28T15:08:33.2215182Z DBD_BUILD_TYPE: DBD_DEV
2022-06-28T15:08:33.2215911Z ##[endgroup]
2022-06-28T15:08:33.4412232Z [command]"C:/Program Files/Unity Hub/Unity Hub.exe" -- --headless editors --installed
2022-06-28T15:08:33.4738398Z
2022-06-28T15:08:39.8489414Z 2021.3.5f1 , installed at C:\Program Files\Unity\Hub\Editor\2021.3.5f1\Editor\Unity.exe
2022-06-28T15:08:39.8493908Z 2020.3.18f1 , installed at C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Unity.exe
2022-06-28T15:08:39.8495305Z 2021.3.4f1 , installed at C:\Program Files\Unity\Hub\Editor\2021.3.4f1\Editor\Unity.exe
2022-06-28T15:08:41.4555995Z
2022-06-28T15:08:41.4568061Z [command]"C:/Program Files/Unity Hub/Unity Hub.exe" -- --headless install-modules --version 2021.3.5f1 --module windows-il2cpp --childModules
2022-06-28T15:08:41.4979719Z
2022-06-28T15:08:49.3163387Z Failed to execute the command due the following, please see '-- --headless help' for assistance.
2022-06-28T15:08:49.3164758Z Error: No editor found for version "2021.3.5f1".
2022-06-28T15:08:50.7966425Z
2022-06-28T15:08:50.8013331Z ##[error]unity modules installation failed
2022-06-28T15:08:50.9089278Z ##[group]Run echo "Dumping current debug info to __build-win--fails-"
2022-06-28T15:08:50.9090603Z �[36;1mecho "Dumping current debug info to __build-win--fails-"�[0m
2022-06-28T15:08:50.9092006Z �[36;1m$projectPath="***"�[0m
2022-06-28T15:08:50.9093296Z �[36;1m$runnerTempPath="$projectPath/../../_temp"�[0m
2022-06-28T15:08:50.9095044Z �[36;1mCopy-Item "$runnerTempPath" -Destination "$runnerTempPath/../__build-win--fails-2577213692" -Recurse�[0m
2022-06-28T15:08:50.9148388Z shell: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.EXE -command ". '{0}'"

@kuler90
Copy link
Owner

kuler90 commented Jun 28, 2022

Hi @tfgstudios,

Either there is a problem with your self-hosted environment or Unity Hub API was changed. Have you tried to execute Unity Hub commands in the command shell by hand?

@xucian
Copy link
Author

xucian commented Jun 29, 2022 via email

@kuler90
Copy link
Owner

kuler90 commented Jun 29, 2022

Sorry, I've just run tests and it's passed on GitHub-hosted Windows. Maybe you have some problems with Unity path settings. Try to execute Unity Hub with '-- --headless help' and check the Unity installation path.

@xucian
Copy link
Author

xucian commented Jun 29, 2022

Sorry, I've just run tests and it's passed on GitHub-hosted Windows. Maybe you have some problems with Unity path settings. Try to execute Unity Hub with '-- --headless help' and check the Unity installation path.

Hm, I see. Could you run a test just for 2021.3.5f1? I see 2021.3 isn't on the tests list. Maybe there's some problem Unity introduced, although I think this is less probable.

Listing the installed editors via hub CLI gives me:
2020.3.18f1 , installed at C:\Program Files\Unity\Hub\Editor\2020.3.18f1\Editor\Unity.exe
2021.3.4f1 , installed at C:\Program Files\Unity\Hub\Editor\2021.3.4f1\Editor\Unity.exe
2021.3.5f1 , installed at C:\Program Files\Unity\Hub\Editor\2021.3.5f1\Editor\Unity.exe

@xucian
Copy link
Author

xucian commented Nov 3, 2022

any updates on this?
running "C:/Program Files/Unity Hub/Unity Hub.exe" -- --headless install-modules --version 2021.3.8f1 --module windows-il2cpp --module visualstudio --childModules gives:

[2021.3.8f1 - Microsoft Visual Studio Community 2019] failed to install. Error given: Installation Failed [2021.3.8f1 - Windows Build Support (IL2CPP)] installing... Completed with errors. ERROR: Licensing SDK logging callback is not registered. Please use 'registerLoggingAdapter' function from the SDK to do so. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: Error: write EPIPE at afterWriteDispatched (internal/stream_base_commons.js:156:25) at writeGeneric (internal/stream_base_commons.js:147:3) at Socket._writeGeneric (net.js:785:11) at Socket._write (net.js:797:8) at writeOrBuffer (internal/streams/writable.js:358:12) at Socket.Writable.write (internal/streams/writable.js:303:10) at Server.emit (C:\Program Files\Unity Hub\resources\app.asar\node_modules\node-ipc\dao\socketServer.js:97:12) at C:\Program Files\Unity Hub\resources\app.asar\build\main\common\ipc\UnityIPCServer.js:41:29 at Array.forEach () at UnityIPCServer.emitAll (C:\Program Files\Unity Hub\resources\app.asar\build\main\common\ipc\UnityIPCServer.js:40:33) This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason: Error: write EPIPE at afterWriteDispatched (internal/stream_base_commons.js:156:25) at writeGeneric (internal/stream_base_commons.js:147:3) at Socket._writeGeneric (net.js:785:11) at Socket._write (net.js:797:8) at writeOrBuffer (internal/streams/writable.js:358:12) at Socket.Writable.write (internal/streams/writable.js:303:10) at Server.emit (C:\Program Files\Unity Hub\resources\app.asar\node_modules\node-ipc\dao\socketServer.js:97:12) at C:\Program Files\Unity Hub\resources\app.asar\build\main\common\ipc\UnityIPCServer.js:41:29 at Array.forEach () at UnityIPCServer.emitAll (C:\Program Files\Unity Hub\resources\app.asar\build\main\common\ipc\UnityIPCServer.js:40:33)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants