i use the unity engine unity on a mac but i want it to be available to all and a webgl does not work
What kind of error are you getting? Sometimes you have to mess with the build settings a bit on web builds for it to work
export as webgl
Try this tutorial: