udacity / self-driving-car-sim

A self-driving car simulator built with Unity
http://udacity.com/self-driving-car
MIT License
3.88k stars 1.5k forks source link

Support for macOS Catalina (v10.15) - Term2 & Term3 Simulators #118

Closed jinay1991 closed 4 years ago

jinay1991 commented 4 years ago

With current release binaries for all the simulators, It does not support macOS Catalina.

When launched, following error is coming:

LSOpenURLsWithRole() failed with error -10810 for the file /Users/.../term2_sim_mac/term2_sim.app.

Same is for all the other simulators.

Request to add prebuilt binaries for macOS Catalina (v10.15).

endymioncheung commented 4 years ago

@jinay1991 , currently I am on Mac OS Catalina v10.15 too. Like you said most Mac release does not work..I found that the Term 1 Version 1 works on my Mac. This link below is copied from the README on this repo.

https://d17h27t6h515a5.cloudfront.net/topher/2016/November/5831f290_simulator-macos/simulator-macos.zip

jinay1991 commented 4 years ago

@endymioncheung Thank for your reply, though I request to have newly compiled binaries for Term2/3 with support of MacOS Catalina as they provide more functionality than of term-1.

I specifically need Path-Planning simulator. If any one knows other alternatives as well would be great.

endymioncheung commented 4 years ago

@jinay1991 I have got some success compiled the Udacity vehicle simulator for the Mac OS Catalina on my MacBook Pro this morning after some minor tweaks. You can download it here: the https://github.com/endymioncheung/Udacity_vehicle_sim_MacCatalina.git

jinay1991 commented 4 years ago

Thanks @endymioncheung for your support. Although I am still not able to launch the simulator with macOS Catalina. When I launch, it launches with out error but flash and terminated immediately. Was that same observation for you too?

endymioncheung commented 4 years ago

@jinay1991, I checked it again just then and manually download the "ZIP" from my Github link I mentioned above. Then unzip it by double clicking the "myUdacitySim.z01", I noted that double clicking the "myUdacitySim.zip" won't work because it is a multi segment file because Github does not allow file larger than 100Mb.

I used the unzip tool downloaded from "https://theunarchiver.com"..

Also after you unzipped successfully, the system by default will block it and prevent it to run as the "Author" is unknown and cannot be verified, so you have to manually authorize to open this file.

Usually I don't upload executable on Github as I think its dangerous to run unknown app, I built this app originally for myself. Just thought to share it others and save others hours of pain. Just a small disclaimer, I compiled this code on my computer and assumed have no computer virus, and I take no responsibilities for any data loss or damages. Use it at your own risks :)

If you are okay with the disclaimer, then go to "System Preferences\Security & Privacy", click the General tab, then on the right bottom corner, click "Open Anyway".

Have fun!

jinay1991 commented 4 years ago

Thank you very much @endymioncheung for providing Term2 Simulator. Though as I mentioned earlier, I need term3 (branch: term3_collection) simulator. If you have env setup, can you please build the code for term3 and share the binary?

jinay1991 commented 4 years ago

Finally was able to build Term3 Simulator on my MacOS. Here is the binary running just fine for macOS Catalina.

https://github.com/jinay1991/motion_planning/releases/download/v1.1/term3_sim_mac_catalina.zip

endymioncheung commented 4 years ago

@jinay1991, just saw your post and update. So you have got the Term 3 simulator to work?

I took a look at the link you posted https://github.com/jinay1991/motion_planning/releases/download/v1.1/term3_sim_mac_catalina.zip

The link seems to be removed. Can you upload the link again, buddy? Thanks

jinay1991 commented 4 years ago

https://github.com/jinay1991/motion_planning/releases/download/v1.1/term3_sim_mac_catalina.zip

endymioncheung commented 4 years ago

It works. Thanks for sharing the binary of the Term 3 simulator :)

taytay0904 commented 4 years ago

Hey, I wonder how did you guys build successfully. Can I know what version of Unity are you using? I tried switch back to 5.5.1 the app load infinitely. If I use the newest version, like 2019, it contains build error such as ParticleRenderer' could not be found (are you missing a using directive or an assembly reference?)

endymioncheung commented 4 years ago

I have seen this error before. I cannot remember exactly how I resolved it at the end, I think I just simply removed that keyword, it seems okay to build and I was able to use it for the term 1 and term 2 SDCND project.

I also found a link here about the ParticleRenderer issue: https://forum.unity.com/threads/there-is-no-particlesystem-in-c-script-when-i-disable-the-wind-module.562072/

I guess you are using Mac OS Catalina too, I can understand your frustration. I can upload a binary I built for my mac to my Github in a few hours time later at https://github.com/endymioncheung. I will label the repo name something starts with SDCND_MacCatalinaSimulator. Please "star" that repo if you like it ;-)

Have fun Udacitying.

Endy

On Thu, Mar 19, 2020 at 8:55 AM taytay0904 notifications@github.com wrote:

Hey, I wonder how did you guys build successfully. Can I know what version of Unity are you using? I tried switch back to 5.5.1 the app load infinitely. If I use the newest version, like 2019, it contains build error such as ParticleRenderer' could not be found (are you missing a using directive or an assembly reference?)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/udacity/self-driving-car-sim/issues/118#issuecomment-601162030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ6H4TOERVQGIEQOCUWMD3RIII57ANCNFSM4JADT2FQ .

endymioncheung commented 4 years ago

Sorry for the late upload taytay0904 , I was having problem splitting the zip files before.

Here is the updated repo https://github.com/endymioncheung/CarND-MacCatalinaSimulator, I've tested the unzip using Mac Terminal on Mac OS Catalina 10.15.3.

On Thu, Mar 19, 2020 at 9:07 AM Endymion Cheung endymion.cheung@gmail.com wrote:

I have seen this error before. I cannot remember exactly how I resolved it at the end, I think I just simply removed that keyword, it seems okay to build and I was able to use it for the term 1 and term 2 SDCND project.

I also found a link here about the ParticleRenderer issue: https://forum.unity.com/threads/there-is-no-particlesystem-in-c-script-when-i-disable-the-wind-module.562072/

I guess you are using Mac OS Catalina too, I can understand your frustration. I can upload a binary I built for my mac to my Github in a few hours time later at https://github.com/endymioncheung. I will label the repo name something starts with SDCND_MacCatalinaSimulator. Please "star" that repo if you like it ;-)

Have fun Udacitying.

Endy

On Thu, Mar 19, 2020 at 8:55 AM taytay0904 notifications@github.com wrote:

Hey, I wonder how did you guys build successfully. Can I know what version of Unity are you using? I tried switch back to 5.5.1 the app load infinitely. If I use the newest version, like 2019, it contains build error such as ParticleRenderer' could not be found (are you missing a using directive or an assembly reference?)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/udacity/self-driving-car-sim/issues/118#issuecomment-601162030, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHZ6H4TOERVQGIEQOCUWMD3RIII57ANCNFSM4JADT2FQ .

taytay0904 commented 4 years ago

hey thank you very much. I will try it later today

praveenbommalibits commented 3 years ago

Thanks a lot @endymioncheung @jinay1991