Scene Capture 2D - Bug

Hi all,

While I was trying to make a mask texture through scene capture 2D I realized that you cannot add an actor to SHOW ONLY ACTORS array, It lets you “add” it but nothing gets actually added so the array stays empty whatever you press. Maybe I am doing something wrong but to me it doesnt seem like it. Also you can’t add anything to HIDDEN ACTORS array.

Cheers.

Just tested and it works perfectly fine.

Sorry, I forgot to write, my issue happens when I add Scene Capture 2D as a component inside of a blueprint.

Yep. Seems like a bug.
Look at Your log, something like that:

“LogProperty:Warning: Illegal TEXT reference to a private object in external package (StaticMeshActor /Game/Maps/BlueprintOffice.BlueprintOffice:PersistentLevel.S_BuildingSetA_Tree_02_8) from referencer (SceneCaptureComponent2D /Engine/Transient.World_0:PersistentLevel.BP_Security_Camera_Tracking_C_0.SceneCapture). Import failed…”

Hey maljkovicdusan,

I just ran a test on my end and am not getting the same results. Would you mind providing me with steps to reproduce this in a new blank project.

Scene Capture 2d as Component

Render Target Result

Let me know if I am missing something or overlooked a detail.

Cheers,

Steps are as follows:

  1. Create a blueprint
  2. Add a scene capture 2d as a component
  3. While in the blueprint viewport try to put some actor in the SHOW ONLY ACTORS array.

Cheers

Oh. Now I see what I did wrong. I’ve tried to pick an actor from within of a blueprint.

@maljkovicdusan You could only pick actors when Blueprint Instance placed in Level.

You can’t do that way. Blueprint You’re editing not exist in level. You have to make instance of it (like drag one in scene), then like @AndrewHurley :diamonds::diamonds: showed add all the actors You need.

He is correct, you need to add an instance of that blueprint to the scene and then use the Show Only Actors. If you think about it, if you are trying to Show Only Actors in an empty blueprint viewport, you would expect it not to work. There is nothing to show at that point.

Cheers,

I want to reference the actor in blueprint, i dont need it to show. Think about it:
I have a pawn which caries a scene capture 2d component and i spawn the pawn at the begining of a game. i should be able to reference some scene actor without having the instance of that particular blueprint in the scene.

Thing that you are saying is like you said that i cannot put a particle system component and reference a particle system unless blueprint is on the scene?

Right? or am I getting this totaly wrong?

  1. No one stops You from putting that actor in the scene before game starts. You could just move it on begin play in required location.
  2. You could dynamically add actors into list:

124619-screenshot.1486031817.png

One thing You should keep in mind. Actor Blueprints do not “exist” until spawned. They can’t address something in level until they spawned (as well as levels that are not loaded yet).

Ok I think I undestand now. Thank you very much for your help!!

Cheers

For those having this issue in the future, you have to make sure that “Primative Render Mode” is set to “Use ShowOnly List”.

Currently this appears bugged for 4.20.1

Was working in 4.19.2, I never touched anything.

Currently doesn’t work in a new project.

Steps to replicate:

  1. New project.
  2. Open first person char
  3. Add “SceneCaptureComponent2D”
  4. Drag off add it to event tick
  5. The option isn’t there in 4.20, but I have it copied from my original project in 4.19

This option is currently locked away and will not work or appear, what a shame because it was handy.

A fix is to clear the show only actor array then loop through and add them manually which is a pain, it didn’t grab every item though.