Updated exception handling
Updated exception handling
Updated exception handling
Updated exception handling and do not set TextureWrapR to repeat