Blueprint compiles successfull but gives Error on hitting Play

I have one blueprint function library which compiles successful if I click “compile” but if I want to start the game then I get a message that I have an unresolved compile Error in the blueprint and in the log this is written:

LogPlayLevel: [PIE] Compiling BP_Functions before PIE…
LogBlueprint:Error: [compiler BP_Functions] Error Could not find a function named “Viewport__GetMousePosition” in ‘BP_Functions’.
Make sure ‘BP_Functions’ has been compiled for Viewport Get Mouse Position

“Viewport__GetMousePosition” was a node of Ramas victory plugin which I have used some time ago, but I removed it from the project (in 4.7) and now in 4.8 I get this Error that the nodes are missing?

Hello ,

I have a few quick questions for you that will help narrow down what issue it is that you are experiencing.

Quick questions:

  1. When you say “but I removed it”, are you referring to the node that is mentioned or the entire plugin?
  2. If you removed the entire plugin, have you/could you please go through your code/blueprints and make sure that there are no lingering references that you may have been using?
  3. If you have removed the node and are still using the plugin, have you spoken to about the issue?

Hi Rudy!

I have removed the entire plugin back in 4.7, but let the nodes of the plugin (like “Viewport_GetMousePosition” inside of the blueprints. This worked in 4.7 if they were disconnected from an execution path. Then I converted the project to 4.8 and in 4.8 it seems not to be possible to have nodes “floating around” from an missing plugin, even if they are not connected to any execution path. So I deleted the nodes out of the blueprint. But I still get the Error that the nodes would be missing.

Hello ,

Could you send me a link to the exact version of the plugin that was used in your project? I will also need to know how the nodes were being used. I am going to try and remove the plugin and then upgrade a project from 4.7 to the preview and see if I can reproduce the errors that you are seeing. From there I will try and track down what is causing the issue (the plugin or the engine) and take it from there.

I think I actually removed the plugin already in 4.6.1… I think I used this version:

https://d26ilriwvtzlb.cloudfront/archive/a/a4/20150219222704!VictoryPlugin.zip

I have basically just used the ViewportGetMousePosition Node in a function inside of a blueprint function library and just returned X and Y of the node.

Hello ,

I was able to reproduce the error that you are seeing on your end. However, after I went through and deleted the remaining nodes the error was gone. I was not able to reproduce the error after the nodes were removed. This leads me to believe that you could have missed a node or two somewhere in your project or that you may still have a reference to this node somewhere. I have included the steps taken to reproduce this issue. Please let me know if there was a difference in our methods that could lead to the issue that you are seeing (if there are no remnants of the victory plugin in your project).

Steps that I took to reproduce this issue:

  1. Created a 4.6.1 project
  2. Added the Victory plugin
  3. Created a function library that used the Viewport get mouse position node
  4. Add a Viewport Get mouse position node to the character blueprint
  5. Added the function from the function library to the character blueprint
  6. Save, Compiled, closed the editor
  7. Removed the plugin
  8. Disconnected the mouse position nodes
  9. Compiled and received errors
  10. Updated (via open a copy) to 4.7.6
  11. Compiled and received warnings
  12. Updated from 4.7.6(via open a copy) to 4.8
  13. Compiled and received errors
  14. Removed the mouse position nodes
  15. Compiled with no warnings or errors of any kind

Hello ,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you.