Pulse Audio Ubuntu not loading correctly on boot

I found that pulse audio wasn’t loading right on boot, resulting in ‘dummy audio device’. If you’re having the same issue, you can follow these quick steps to work around it.

Simply running killing the pulseaudio service would force it to load correctly

pulseaudio -k

But this is only a fix until the next reboot. To add this to login, create a bash script in profile.d

sudo nano /etc/profile.d/RestartPulse.sh
#!/bin/bash
pulseaudio -k 2>/dev/null

Ctrl+X

I added the 2>/dev/null to the end of the command in order to supress any error messages it might throw out about the service not running.