Thanks for visiting Apple Support Communities.
If tracks are no longer playing when you press the spacebar in Logic, make sure you've tried the troubleshooting basics such as removing user preferences, testing with a new project template, and reinstalling the application, if necessary. See these articles for the troubleshooting steps:
Logic Pro 8 and 9: Troubleshooting basics
Logic Pro X: Troubleshooting basics