PIC32 does not get UART RX interrupts in xc32 Compiler
It would be great if you say how you are debugging or checking whether the UART is working correctly or not.

But I would suggest some things that you should look in to.And it will help to
find the problem by yourself.


Check whether the RX and TX pins were configured correctly from data sheet.
Trouble shoot your h/w connections: Cross check whether RX and TX were connected properly  RX - Should go to TX of target chip  TX -
Should go to RX of target chip you were communicating.
Is your UART working well?


You should see whether signals are getting transmitted in TX mode.

main()
{
    while(1)
    {
        uart_send('a');  //Some function like this or as you can code.
    }
}



If 1,2 and 3 works try for Reception via RX pin also.
You can try serial terminal apps to see whether your UART is working fine.
90% of the time it is connection and baudrate error.