Oily film also appears on discharged urine surface in toilets due to the previously used soaps, body lotions, vaselines, shampoos etc. So, it is better to observe it repeatedly and if it appears the same consult an urologist.
Maybe you have a UTI, I would suggest seeing your doctor and a simple urine sample test will determine this. Are you on any meds? They might also be the cause.