Hi,
I created the blueprint to change a material of the object. Everything is working fine in the scene itself when I push the button “play”. After cooking exe file it doesn’t work anymore. I can’t change the material at all. I see buttons, I can push them, they are active but they don’t change the material itself. I didn’t get any errors after cooking exe file.
There is a video file to see that I am talking about.
Hello Mintis,
I have a few questions for you that will help narrow down what issue it is that you are experiencing.
Quick questions:
- Can you reproduce this issue in a clean project?
- If so, could you provide a detailed list of steps to reproduce this issue on our end?
- Can you provide screen shots of any blueprints that may be involved with this issue?
I did the new project but It doesn’t work.
I put the blueprints and the video. Can you help me solve this task.
Hello Rudy,
- I did this in a clean project and the goal that I was trying to achieve did not happen.
- [link text][1]
I attached Output log and Packaging settings. If you need I can send these blueprints files to you so you can check where the problem is? Let me know about it.
3.This didn’t make any difference.
Hello Mintis,
I have a test that I would like for you to try. I have been able to change the material on an actor in a packaged project. I have provided the example below. Please let me know if this works for you.
Example:
Steps:
- Create a new actor blueprint (name it “Cube”)
- Add a static mesh component to the new blueprint
- Assign a mesh to the static mesh component
- Add the new actor blueprint to the level
- Save and compile
- Create a new widget blueprint
- Add a button to the designer tab
- Create an OnClicked event
- Create the blueprint in the attached image
- Save and compile
- Package for windows
- Open up the packaged version of the project
- Click the button
- Notice that it changes colors as expected
Could you zip down a project that is having this issue and send it to me so that I could take a closer look?
Ok. This is working now. Many thanks. You solved my problem.