Bugs Ahoy

10 January 2025

For the gameplay, I wanted seven bottles of different colours. Once I'd found out how to pick up objects, I copied and pasted the basic metallic bottle until I had seven bottles that the character could pick up.

I needed to change the colours of the 7 bottles, so I had to find a tutorial showing how to do it. I found "How To Change A Material/Texture Colour In Unreal Engine 4/5 (Tutorial) | How To Tint A Material" by Matt Aspland:

Unfortunately it was an hour long, and I didn't want an hour's worth of tutorial - I just wanted to know how to change the colour of an object, and didn't think it should be that hard, so I started playing with the assets in my game


I copied and pasted the bottle x7, then changed all of their colours:


New bugs: When I clicked the 'Play' button, all of my finely crafted rainbow-coloured bottles spontaneously became massive. I hadn't done anything to them except change their colour, but for some reason they had automatically changed size. Also, the SKY had changed colour (and texture)!


So just when I'd thought I was getting somewhere, I suddenly had 2.5 new bugs to put on my debugging checklist. (Change the bottle sizes back, restore the sky colour and texture to their original state.)


 

Comments

Popular posts from this blog

Creating A Door And Also Adding Foliage Using CubeGrid Tool in UE5

Using Sockets in UE5 to Allow a Character to Hold Objects

Games Development Level 2 Project