x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

options of Details panel hide in BP

Hello, for some reason the options of Details panel of a Skeletal Mesh Component are hide in my BP. I received this problem after changing the SetupAttachment() of my Component in my C++ code (The Parent Class of the BP) I need recreate a blueprint for unhide the options of Details panel.

alt text

Product Version: UE 4.15
Tags:
optionhide.jpg (142.5 kB)
more ▼

asked Feb 26 '17 at 04:13 AM in Bug Reports

avatar image

Loux xavier
112 21 22 25

avatar image Loux xavier Feb 27 '17 at 04:32 PM

I have the impression that the engine confuses several component https://youtu.be/S7hZZPaM7LE

avatar image Sean L ♦♦ STAFF Feb 28 '17 at 04:19 PM

Hey Loux xavier,

Could you please provide the code that you are using for the class that the blueprint is based on? I especially need to see the header file with your UPROPERTY declarations.

avatar image Loux xavier Mar 02 '17 at 01:25 AM

Of course

     /** pawn SpringArm: 1st person view */
     UPROPERTY(VisibleDefaultsOnly, Category = Camera)
         class USpringArmComponent* SpringArm1P;
 
     /** pawn Camera : 1st person view */
     UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = Camera, meta = (AllowPrivateAccess = "true"))
         class UCameraComponent* Camera1P;
 
     /** pawn mesh: 1st person view (test) */
     UPROPERTY(VisibleDefaultsOnly, Category = Mesh)
         class USkeletalMeshComponent* MeshArm1P;
 
     /** pawn mesh: 1st person view (legs) */
     UPROPERTY(VisibleDefaultsOnly, Category = Mesh)
         class USkeletalMeshComponent* MeshLeg1P;
 
     /** Location on gun mesh where projectiles should spawn. */
     UPROPERTY(VisibleDefaultsOnly, Category = Mesh)
         class USceneComponent* FP_MuzzleLocation;
 
     /** Gun mesh: 1st person view (seen only by self) */
     UPROPERTY(VisibleDefaultsOnly, Category = Mesh)
         class USkeletalMeshComponent* FP_Gun;

avatar image Sean L ♦♦ STAFF Mar 02 '17 at 02:10 PM

Where are you declaring FpsArmsPawnMesh? I don't see it in the code you've provided.

avatar image Loux xavier Mar 06 '17 at 03:59 PM

I'm sorry I'm no longer responding away, FpsArmsPawnMesh is MeshArm1P declared in Subobject in .cpp

     // Create a mesh component that will be used when being viewed from a '1st person' view for the arms (when controlling this pawn)
     MeshArm1P = CreateDefaultSubobject<USkeletalMeshComponent>(TEXT("FpsArmsPawnMesh"));
     MeshArm1P->bOnlyOwnerSee = true;
     MeshArm1P->bOwnerNoSee = false;
     MeshArm1P->bCastDynamicShadow = false;
     MeshArm1P->CastShadow = false;
     MeshArm1P->SetupAttachment(SpringArm1P);

avatar image Sean L ♦♦ STAFF Mar 06 '17 at 08:09 PM

Try using EditAnywhere instead of VisibleDefaultsOnly on the MeshArm1P declaration inside of the UPROPERTY.

That should allow you to see and edit the class defaults.

avatar image Loux xavier Mar 07 '17 at 06:14 PM

I have try, but the problem is always persistent, I think the problem comes directly from the blueprint http://image.noelshack.com/fichiers/2017/10/1488910344-sans-titre.jpg

avatar image Sean L ♦♦ STAFF Mar 07 '17 at 06:21 PM

Unfortunately this isn't something that I've been able to reproduce.

Here's what I recommend:

Try starting up a new project (not based on one of the templates, just a blank project) and creating the component you need in that project. Then, give it the EditAnywhere tag in the UPROPERTY() and you'll notice that you're able to see and edit the defaults.

If you are able to reproduce your issue in a clean project, please let me know and provide a detailed list of steps I can use so I can see the issue on my end.

Thanks

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hello,

I am marking this topic as resolved for tracking purposes, as we have not heard from you in a few days. If this issue persists, feel free to respond to this thread. For any new issues, please create a new Answerhub topic.

Have a great day

more ▼

answered Mar 06 '17 at 02:29 PM

avatar image

Sean L ♦♦ STAFF
43.5k 485 152 442

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question