so i am using the vector graphics package and i want to make the button as a vector it shows the image in the scene view but doesnt show in the camera
You’d have to share exactly what you did. In general the vector graphics package just converts vector graphics into Textures/Sprites for use in your game. After that, they behave normally like any other image. So it’d come down to something wrong in your setup. Most likely the object is simply not in view of your game camera due to positioning.
Note that the scene view camera and the game camera are completely independent from one another, so the fact that it shows in the scene view doesn’t mean much.
Not only that but if this is really a UnityEngine.UI.Button, it’s the Canvas that controls where and how it’s shown, only incidentally involving a Camera if you set it to do so.
As Praetor suggests, make sure the vector import happened. Drag the imported resulting sprite into a blank scene at (0,0,0) and verify it is visible before going any further down any rabbit holes.
Keep in mind the generated sprite could be 1000x too small or 1000x too large as well, depending on how you sourced this vector stuff. Your entire vector image might be crammed into the blackness between two pixels, making it look like it wasn’t there. Sometimes selecting it and pressing F to focus over the scene window will show it, sometimes not.
I fixed it it was just creating a new vector ui